intfiction.org

The Interactive Fiction Community Forum
It is currently Tue Jun 18, 2013 4:17 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Mar 17, 2012 3:15 pm 
Offline

Joined: Fri Mar 16, 2012 10:52 am
Posts: 26
In case anyone wants/needs it, I have been working on a more helpful (for me) SubEthaEdit mode for i7x/inform extensions.

Attachment:
File comment: Mode to parse inform and i7x in SubEthaEdit (version 2)
Inform7.mode.zip [21.95 KiB]
Downloaded 43 times
(updated)

Most of my development has been in an i7x file separate from the main inform file, and I found the features in that side of the IDE to be too lacking. The main IDE is fine for my .inform file, and in fact I like it.

I found an inform mode already available online, but it looked like it wasn't optimized for i7x extensions (if so, then it has far more highlighting for i6 than I will ever be familiar with. I added a bunch of syntax highlighting and symbols so that it automatically indexes Volumes, Books, Parts, Chapters, Sections - Tables, Definitions, etc. Then I added a bunch of PNG images for the symbol index.

I'll be improving it as it frustrates me :) Or if others have suggestions I might add in more regex's to highlight syntax.

If anyone could contribute

1) an applescript for updating volume/book/chapter/part/section numbers it would be appreciated... my applescript is sorely lacking. SubEthaEdit is scriptable, but that's not my forte.
2) a working way to highlight multi-line comments without quotes or other highlightable terms in the comment getting highlighted. This is a frustrating "bug" in my mode, but the alternatives got messy quickly and while I'm pretty good at Regex, my understanding breaks at multiline processing with callbacks...nor could I figure out how to turn off syntax highlighting inside the comment anyway.

Edit: Updated the images in the file, more visible colors, added To decide to regex, and made sure all images show up correctly & backgrounds are properly transparent.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group