You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Sunday, May 20th 2012, 9:40pm

Notepad++ highlighting scheme

Hi all, once in this thread people discussed on XML editors, and custom highlighting scemes. Notepad++ was listed as favourite for some, as is for me. Well, in retribution for all I´ve anonymously learned here I am attaching a scheme specific for krpano xml.
I made it today, having tested in some sample files and it looks promising. Te only frustrating part is that it will not autocomplete the keywords, and as far as I can tell only the native languages can do that. It is based on documentation.
I separated in the following groups of keywords: opening and closing tags, atributes, actions, flags, numbers, double quotes, single quotes, comments. Of course it needs testing, and my present codes surely lack in complexity, so if you notice anything odd please share.

Current limitation I have noticed so far is the use of the ! operator. If I included it on the operators list it would break the highlighting of the comments. Of course the code will work, only the hightlight will fail on words next to it.
Also commenting tags need to be separated by spaces from the comment itself:

So if you could test in your current codes and post back your impressions I could develop further, considering the limitations of custom languages schemes. I hope it helps.


Similar threads