I write in assembler and recently switched to SE from CodeWrite.
The code is for different target microcontrollers with completely different assemblers, each having different features, rules, and keywords. They all use the same file extension of .asm
Is there an easy way to change lexers, tagging support, etc. on the fly? I could either put a meta statement in a comment on the first line of code in the file (like Crimson Editor) or just put some buttons on a menu to select the specific assembler language I am currently using. Since at least one of the languages uses a "*" to begin comment and not the standard ";" putting a comment on the first line is problematic.
Any guidance on this would be appreciated.