I have a user defined language working fine. It highlights the keywords (in blue for me), and the api file allows me control-click to autocomplete. So everything is working as it should.
Is there a way to get NPP to auto UPPER CASE the keywords I have defined? It can highlight them in blue, but I would also like NPP to automatically convert the text from lower case or CamelCase to UPPER CASE as well as highlighting the keyword (in blue!).
Many thanks for a fine product
Noz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, this is not possible. You could search for utilities on the forum that can do this for you.
I suggest to take a look at www.andre-simon.de for the WinHighlight tool. This can mark-up files by applying language definitions, which is something the NppExport Plug-In does as well directly from Notepad++. But the WinHighlight stand-alone execuable also has a feature for refactoring/reformatting. One simple checkbox allows you to uppercase all the keywords defined in your language. Of course, you also have to define your language in the WinHighlight format.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a user defined language working fine. It highlights the keywords (in blue for me), and the api file allows me control-click to autocomplete. So everything is working as it should.
Is there a way to get NPP to auto UPPER CASE the keywords I have defined? It can highlight them in blue, but I would also like NPP to automatically convert the text from lower case or CamelCase to UPPER CASE as well as highlighting the keyword (in blue!).
Many thanks for a fine product
Noz
No, this is not possible. You could search for utilities on the forum that can do this for you.
I suggest to take a look at www.andre-simon.de for the WinHighlight tool. This can mark-up files by applying language definitions, which is something the NppExport Plug-In does as well directly from Notepad++. But the WinHighlight stand-alone execuable also has a feature for refactoring/reformatting. One simple checkbox allows you to uppercase all the keywords defined in your language. Of course, you also have to define your language in the WinHighlight format.