ENIGMA Forums

General fluff => General ENIGMA => Topic started by: Goombert on May 19, 2013, 05:37:50 pm

Title: Definitions Modified
Post by: Goombert on May 19, 2013, 05:37:50 pm
Ya in the plugin whenver you load LGM it calls definitions modified which gets all the function names from the engine so the script editor knows what to highlight. Suggestions have been to either do it when you change ENIGMA Settings or each time you compile. We need to discuss this as I do not feel it should be each compile as thats wayyy uneccessary and compiling is already slow as heck. I'd like us to discuss it and everybody to offer suggestions  (Y)
Title: Re: Definitions Modified
Post by: Josh @ Dreamland on May 19, 2013, 07:14:47 pm
It already does it each time you compile. Ism just doesn't update her keyword lists.

It also does it when you save the definitions file.

All that needs done is putting a call to the word list updater after those two calls.
Title: Re: Definitions Modified
Post by: IsmAvatar on May 20, 2013, 11:19:52 am
Technically I think this was one of the missing features of JoshEdit that was holding me back from merging.
Title: Re: Definitions Modified
Post by: Josh @ Dreamland on May 20, 2013, 01:49:41 pm
Couldn't have been. Only ENIGMA needs this feature, and ENIGMA has been using exclusively the JoshEdit branch for ages. The lack of resource highlighting might have been an issue, though.
Title: Re: Definitions Modified
Post by: Goombert on May 20, 2013, 02:44:19 pm
Resources show up in auto completion now and highlight I already fixed that. It is about telling LGM to update the keyword lists when systems change. But oddly enough it does detect b2Vec2 and box2d classes and stuff in the Definitions->Functions but it does not add them to auto completion when the extension is enabled, and it updates after compiling. So it is just regarding sending it over to JoshEdit.