Skip to content
⌘ NSIS Forum Archive

EditPlus .stx file for NSIS

8 posts

kichik#

EditPlus .stx file for NSIS

Hi!

I have made a .stx file for EditPlus. An .stx file is a sytax highlighting file for EditPlus. I am pretty sure that with a little change it can be used with every other syntax highlighter out there.

Enjoy 😁
F. Heidenreich#
Hi kichik,

thank you, I've copied the contents to my usertype.dat and know I have NSIS syntax-hilighting in VC++ 🙂

~ Florian
Cristian Adam#
Hi kichik,

Add #LINECOMMENT2=# to your stx file... to be compliant with the documentation. 😉

cristi
kichik#
I didn't notice this one... Thanks!
Mike007#
UltraEdit wordfile for NSIS

And in case anyone wants a wordfile (syntax highlighting) for UltraEdit, see the thread http://forums.winamp.com/showthread....545#post444545
Mike007#
Florian: question

Florian,

How do you add the stx to VC++ (I have v6.0)? I'm not sure how you added it to the dat file (I don't even have one).

Thanks,
Mike
F. Heidenreich#
Hi Mike,

simply create a usertype.dat in the common\msdev98\bin folder of Visual Studio and add the NSIS-strings to it.
Then change the registry key
HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Text Editor\Tabs\Language Settings\C/C++\FileExtensions
from
cpp;cxx;c;h;hxx;hpp;inl;tlh;tli;rc;rc2
to
cpp;cxx;c;h;hxx;hpp;inl;tlh;tli;rc;rc2;nsi;nsh
Then restart VC++ and your nsi- and nsh-files would be full colored 🙂

The bad thing about that is, that I've NSIS-syntax-hilighting also within my cpp-files. But there is a little DevStudio-AddIn at CodeGuru which makes live with multiple synatx-highlighting schemes easier.

~ Florian
kichik#
As this thread been brought up again I fell the need to send in my newest syntax file 😁 It's for NSIS 1.94

KiCHiK