I've got a toolbar with a dropdown selection to change modes. Let's say I start off in PHP mode, switch temporarily to CSS mode, and then switch back to PHP mode. ACE loads the 'worker-css.js' file when CSS mode is selected and applies it to the current document. The worker, however, is not terminated when the mode changes to something else and continues to show "errors" in perfectly valid PHP code because it is attempting to interpret it as CSS. The demo is broken when switching the PHP document to CSS mode (Firefox reports an uncaught exception).
@gissues:{"order":63.97515527950327,"status":"backlog"}
I've got a toolbar with a dropdown selection to change modes. Let's say I start off in PHP mode, switch temporarily to CSS mode, and then switch back to PHP mode. ACE loads the 'worker-css.js' file when CSS mode is selected and applies it to the current document. The worker, however, is not terminated when the mode changes to something else and continues to show "errors" in perfectly valid PHP code because it is attempting to interpret it as CSS. The demo is broken when switching the PHP document to CSS mode (Firefox reports an uncaught exception).
@gissues:{"order":63.97515527950327,"status":"backlog"}