Notepad++ MXS Language Definition
Submitted by Ofer Zelichover on Sun, 2007-03-25 17:28.
Tagged with terms:
Date Updated:
03/26/2007Maxscript language definition files for the notepad++ editor.
Additional Info:
Installaion:
1. install notepad++
2. copy the file maxscript.api to C:\Program Files\Notepad++\plugins\ folder
3. copy userDefineLang.xml and insertExt.ini into your %appdata%\notepad++\ folder
IMPORTANT NOTE!
If you have other user defined languages, you have to edit the userDefineLang.xml file manually
and append the maxscript section from this zip, if you overwrite the file with this version, you\'ll
lose your previously defined languages!
Other Software Required:
<a href="http://notepad-plus.sourceforge.net/uk/site.htm" target="_blank" title="Notepdad++ editor">Notepad++ editor</a>
Homepage URL:
http://www.oferz.com
Ofer, I have also made a
Ofer,
I have also made a n++ colorsyntax file, based on Chris Johnson's UltraEdit colorsyntax. He has all keywords from maxscript, since he had access to the developers from max. I could sent you my syntax file if you like, it has a lot more keywords...
Just let me know. I think it's beter to post 1 good syntax file rather than 2 different ones, since you now already posted yours, let's stick with that...
It's a shame though that n++ has only 4 different keyword entries, maxscript has 6 different categories keywords... and I also have some problems with opening and closening brackets... don't know if you're experiencing this aswell? I should try your settings first.
-Johan
Hi Johan, If you have a
Hi Johan,
If you have a more complete set of keywords, by all means, send it and I'll merge it into my settings.
As for the brackets, I don't use the folding feature, as it seems to have some bugs in the user defined lexer (at least it did for me when using maxscript), but aside from that I don't have any problems. What exactly are the problems you're seeing?
cheers,
o
Hi Ofer, Sorry it took such
Hi Ofer,
Sorry it took such a long time... Been very busy..
http://temp.subd.nl/mxs.txt
It's a straight rip from the UltraEdit syntax highlight file. You should be able to extract the keywords from it easily, and also see to what class they belong to.
And yeah I too have really only problems with the code folding from the user defined lexer... So I now code that all brackets have always 1 space at either side of itself.
It works too some extend.
Good luck!
-Johan
Johan, I get an error when
Johan, I get an error when trying that link.
Could you please send it to me directly to maxscripts [at] oferz [dot] com
By the way, I also used the Ultra Edit version as the basis for this, but also added some keywords that were missing (I think there are still a few missing keywords :)), but perhaps I should re-check it against the UE file just to make sure...
cheers,
o
I use for editing Notepad++
I use for editing Notepad++ because is a very complex program and support languages like C; C++; Java; C#; XML; HTML; PHP; CSS; makefile ASCII art (.nfo); doxygen ini file and other. Olso you can edit several documents at the same time. I got it from here: Notepad++