Oops. I wasn't aware the status bar was keeing track of editor context (vs. document context). We actually don't need this check in the first place, it seems. It will do the right thing for the inline editor (simply re-installs the listeners for the language).