Set a lexer on file save
Yeah there are a few cases like this when the language needs rechecked.
I have already implemented this, I can let you have the updated code if required
Pull requests are always welcome.
Have a menu option to apply a lexer to a file
Definitely a good idea. This isn’t as straight forward as I would like it to be since new languages can be added/removed dynamically and some information may need pulled out of the internal Lua interpreter.
and have lost every time I have built the source
Ah yes if you are editing one of the lexers already built in then it will get copied over.