Notepad++ MXS Language Definition

37 votes
Date Updated: 
03/26/2007
Author Name: 
Ofer Zelichover

Maxscript 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>
Video URL: 

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jhn's picture

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

Ofer Zelichover's picture

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,

jhn's picture

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 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.