Staredit Network > Forums > SC1 Mapping Tools > Topic: Notepad++ language for TrigEdit++ code
Notepad++ language for TrigEdit++ code
Aug 10 2017, 3:46 pm
By: BumpelSnake  

Aug 10 2017, 3:46 pm BumpelSnake Post #1



I find it very ineffective to work withing the TrigEdit++ window, so I figured I'd do it rather in Notepad++ but I couldn't find a language for nice and smooth recognition, so I made a custom language myself.

Feel free to use!



Attachments:
trigeditplus.xml
Hits: 6 Size: 6.15kb

Post has been edited 2 time(s), last time on Aug 10 2017, 6:07 pm by BumpelSnake.



None.

Aug 26 2017, 12:05 am Wormer Post #2



Thanks for that!

As an addition, there been Notepad++ highligting for SCMD TrigEdit included with MacroTriggers distribution. Here is the standalone file (download).

Also have a look at TrigEdit highlighting for Vim :) Among other things it has colored text messages preview and errors detection as you type. Download includes StarCraft color theme for Vim and SCMD TrigEdit highlighting invoked for *.trigger files.


Post has been edited 1 time(s), last time on Aug 27 2017, 3:28 pm by Wormer.



Some.

Aug 26 2017, 3:04 am trgk Post #3



Oh thanks!

Feel free to give me some feedbacks!



EUD

Aug 27 2017, 10:39 am Wormer Post #4



trgk, is there a resource (besides the download link) where to read more about Trigedit++ syntax, use cases, map examples, discussion, etc.?



Some.

Apr 3 2018, 5:14 am martosss Post #5



Actually, Trigedit is based on Lua and, hence, if you pick Lua it does a relatively good job. Nevertheless, I'll try your theme for now.
First impressions:
1) It has even more personalization than Lua.
2) I'm using a dark background in my Notepad++, so the current theme colouring had to be totally changed to fit in(switching black with white text and white with dark background).



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:14 pm]
Pr0nogo -- i don't know what you're asking for really
[03:14 pm]
Pr0nogo -- Suicidal Insanity
Suicidal Insanity shouted: I also still could use spec sheet for the formats to make sure I am using them correctly - it appears BWscript doesn't have string names? Or they are in a different spot?
what does a spec sheet look like
[02:02 pm]
Corbo -- Suicidal Insanity
Suicidal Insanity shouted: I had thought it loads it from the MPQs and parses it, so I was working on re-implmenting that with the MPQ code changes, and then noticed that it does grab the MPQ interface but then ignores it :X
nice
[09:23 am]
Suicidal Insanity -- I also still could use spec sheet for the formats to make sure I am using them correctly - it appears BWscript doesn't have string names? Or they are in a different spot?
[09:22 am]
Suicidal Insanity -- I had thought it loads it from the MPQs and parses it, so I was working on re-implmenting that with the MPQ code changes, and then noticed that it does grab the MPQ interface but then ignores it :X
[09:03 am]
Pr0nogo -- ok, i'll explore that when you have that changed
[08:54 am]
Suicidal Insanity -- if trigedit has such things
[08:54 am]
Suicidal Insanity -- Or maybe change it to a warning
[08:54 am]
Suicidal Insanity -- I just need to disable the verification, then it would allow arbitrary characters
[08:48 am]
Pr0nogo -- would be nice to change that and see if that allows arbitrary characters
Please log in to shout.


Members Online: Roy, NudeRaider, Whiplash