You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
Problem is that it's using the cursor-location-specific API Editor.getModeForSelection(). We should add a method for getting the top-level (file-wide) mode and use that instead.
Note that this will make #1826 a little more obvious though, since HTML files will start using the label "htmlmixed" if we're accurately reporting the outermode.
See comments on #1826 - moving to Sprint 16, could consider removing this from the status bar for the next Edge Code drop if we don't want to fix this yet.
Result:
1-2: mode says "html"
4: mode says "javascript"
Expected:
Status bar consistently shows outermost mode of file ("html" in this case).
The text was updated successfully, but these errors were encountered: