Hello,
i really need some help with something.
i am programming in ASP with n++ and i like to add some functions to it,
but, i need that the new functions will be in another color.
i try to add a new key to stylers.xml and lang.xml.
when i did this its show a new place to put words (i name it: "WORD2") in the menus but
its not do anything.
i think that my problem is with the styleId of the new line that i add.
it is very important to me and it will be very helpful if some one can tell me
how can i add more functions with anther color.
Thanks,
Roy Shoa.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In order for what you have done to work, the lexer for ASP would need to be modified so as to be aware of your new keyword category, and SciLexer.dll would need to be rebuilt in order for Scintilla to act upon your changes.
I don't know ASP, so I don't know whether an User Defined Language mimmicking the basic features of ASP would do. Try that first, perhaps. Or use the PowerShell lexer plugin developed by aathell (it comes bundled with his Plugin Interface Library).
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
i really need some help with something.
i am programming in ASP with n++ and i like to add some functions to it,
but, i need that the new functions will be in another color.
i try to add a new key to stylers.xml and lang.xml.
when i did this its show a new place to put words (i name it: "WORD2") in the menus but
its not do anything.
i think that my problem is with the styleId of the new line that i add.
it is very important to me and it will be very helpful if some one can tell me
how can i add more functions with anther color.
Thanks,
Roy Shoa.
In order for what you have done to work, the lexer for ASP would need to be modified so as to be aware of your new keyword category, and SciLexer.dll would need to be rebuilt in order for Scintilla to act upon your changes.
I don't know ASP, so I don't know whether an User Defined Language mimmicking the basic features of ASP would do. Try that first, perhaps. Or use the PowerShell lexer plugin developed by aathell (it comes bundled with his Plugin Interface Library).
CChris
Thanks Alot,
i will try this...