how can i creat a new scheme in my pn? my system is windows XP, and my pnotepad's version is v2.0.8.718-basie. I wanna add NesC-TinyOS scheme in my pn, so how can i add it in? Hope you can help me ...Thanks^^
creat a new scheme?
(2 posts) (2 voices)-
Posted 1 year ago #
-
I guess you could base your scheme on C/CPP. You would have to modify two files for that:
schemes\extmap.dat - so that your files would be recognized by extension
schemes\cpp.scheme - so that eg. additional keywords would be coloured or for autocomplete (you would have to add an appropriate keyword-class tag and language)Oh, and remember to keep the language name short (not more then 10 chars if I remember correctly).
You can also make a custom lexer, but that's a different story ;)
Posted 1 year ago #
Reply
You must log in to post.