A bit of background on that weird question on the thread title:
I’ve written a hhighlighter for a game’s scripting language - a scripting language which is pretty verbore and thus pretty easy for modders to make mistakes in).
I want to write a command that does this: iterate over all files in the current project. If the file are part of this scripting language, parse the file and retrieve the position of the regions parsed as invalid.illegal, then show the list of said regions’ positions to the user. For this, I’d rather not have the user seeing tabs opening and closing while the process is underway.
Is something like this possible? Is it sensible or should I write my own parser outside of Sublime? That’d seem redundant seeing as how sublime can do the lexing by itself, and in a more efficient way that I could with python scripts too.