Inventor Customization

Inventor Customization

Reply
Distinguished Contributor
123 Posts
126 Kudos
Registered: ‎10-06-2006
Post 1 of 2

iLogic Syntax Highlighting

301 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
123 Posts
126 Kudos
Registered: ‎10-06-2006
Post 2 of 2

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!