I apologize if this is the wrong group to submit this question. I did a search in the whole forum and didn't come up with answer, so...
I am writing a user language file for Scilab. It works well with one exception. Comments in Scilab are indicated with with "//". However, there is also a "/" operator. When I include "/" in the list of operators, NPP no longer recognizes "//" as a comment prefix.
Is this a bug, the limitation of the system, or am I doing something wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's a limitation of the User Defined Language system. If you use a self created Lexer, it is possible to use / as an operator. You can check this in Pascal language, for example.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm also having the same problem with user defined languages in which the comment indicator is also an operator. If I understand, we can solve this using a self crated Lexer. Is there a place where we can find more info on how to do that?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I apologize if this is the wrong group to submit this question. I did a search in the whole forum and didn't come up with answer, so...
I am writing a user language file for Scilab. It works well with one exception. Comments in Scilab are indicated with with "//". However, there is also a "/" operator. When I include "/" in the list of operators, NPP no longer recognizes "//" as a comment prefix.
Is this a bug, the limitation of the system, or am I doing something wrong?
It's a limitation of the User Defined Language system. If you use a self created Lexer, it is possible to use / as an operator. You can check this in Pascal language, for example.
I'm also having the same problem with user defined languages in which the comment indicator is also an operator. If I understand, we can solve this using a self crated Lexer. Is there a place where we can find more info on how to do that?
Thanks
"New External Lexer Support Template/Tutorial":
http://sourceforge.net/forum/message.php?msg_id=4706653
Thanks again for your help.