Inventor Customization

Inventor Customization

Reply
Distinguished Contributor
MRanda
Posts: 123
Registered: ‎10-06-2006
Message 1 of 2 (300 Views)

iLogic Syntax Highlighting

300 Views, 1 Replies
02-02-2012 07:46 AM

Hello folks, I am trying to use a code window plugin on my website, and would like to create a temple for iLogic code.  Is there any way to output  iLogic code in a format that would work?

 

I cannot modify any of the existing templates because iLogic requires information as to whether to make some text brown or blue, and it would need some form of output to do that.

 

http://wordpress.org/extend/plugins/crayon-syntax-highlighter/

 

The instruction page is here: http://ak.net84.net/projects/crayon-language-file-specification/

 

I have been manually highlighting or using images, but both have their problems. (cut & paste will lead to a pile of errors with the manual highlighting). I can create the css file, but need some form of output beyond cut & paste to work with.

 

If something is worked out, it will be added to the program and be available to everyone free (this is a Wordpress plugin).

Something like this would be very nice for sharing/teaching iLogic code. Any ideas?

 

Mark Randa

http://opendesignproject.org/

Asus Tower
32 Gigs Ram
Solid State HD
Intel i7-4770 CPU
Windows 8.1 (Hate it with a passion)
Website;
Applied Design Intelligence
http://applieddesignintelligence.com/
Distinguished Contributor
MRanda
Posts: 123
Registered: ‎10-06-2006
Message 2 of 2 (266 Views)

Re: iLogic Syntax Highlighting

02-08-2012 04:49 AM in reply to: MRanda

The writer of the plugin has taken on the task, but the first go at it didn’t come out as well as one would have hoped. Does anyone know the regular expressions for iLogic?

 

Here is the first try at the Wordpress sandbox http://aksandbox.webege.com/?p=74

 

Any ideas?

 

Mark Randa

Open Design Project

 

iLogicTryOne.JPG

Asus Tower
32 Gigs Ram
Solid State HD
Intel i7-4770 CPU
Windows 8.1 (Hate it with a passion)
Website;
Applied Design Intelligence
http://applieddesignintelligence.com/
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.