Problems when opening multiple files of different syntax.
Brought to you by:
cdolivet
When openning at the same time several files with different syntaxes, and when the syntaxes have not been loaded before, it seems like the syntax of the new files may not be the one specified by the call to openFile.
Here is my understanding of the bug : when openning a new file, if the syntax definition file is not loaded, EditArea begins the load of the syntax, and it postpones the actual syntax change. However, if I open an other file just after this one (before the actual syntax change), the saved state for this file is wrong because it will not contain the new syntax.