Well, as the title says - how do you know if the current loaded mode is in the Ace editor?
editor.getSession (). getMode () does not actually return anything that I can use - I looked at the returned objects but found nothing.
editor.getTheme () returns me a line that I can use - it just seems funny if they didn’t do the same for the mode
source
share