ENIGMA Development Environment
Website is in read-only mode due to a recent attack.

Pages: 1
  Print  
Author Topic: Definitions Modified  (Read 1052 times)
Offline (Male) Goombert
Posted on: May 19, 2013, 05:37:50 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
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)
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) Josh @ Dreamland
Reply #1 Posted on: May 19, 2013, 07:14:47 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2951

View Profile Email
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.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Female) IsmAvatar
Reply #2 Posted on: May 20, 2013, 11:19:52 AM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 877

View Profile Email
Technically I think this was one of the missing features of JoshEdit that was holding me back from merging.
Logged
Offline (Male) Josh @ Dreamland
Reply #3 Posted on: May 20, 2013, 01:49:41 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2951

View Profile Email
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.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) Goombert
Reply #4 Posted on: May 20, 2013, 02:44:19 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
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.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print