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.
In Sprint 15 we added about 130 lines of code to EditorManager that maintains the various status labels in the status bar (cursor pos, current syntax mode, tab settings, etc.). EditorManager is a low-level core module and probably shouldn't be acting as the view/controller layer for the status bar.
StatusBar.js is probably also not the right place, since it seems to be intended more as a generic container that various modules can plug into. We may want to create a new module, e.g. EditorStatus or EditorStatusBar, to contain this code.
The text was updated successfully, but these errors were encountered:
p.s. We've already seen some intertangling of core Editor-management code with status bar UI-updating code as a result of this -- witness the refresh() calls that snuck into _onFocusedEditorChange(), which are probably contributing to the scrolling issue noted in #1864.
In Sprint 15 we added about 130 lines of code to EditorManager that maintains the various status labels in the status bar (cursor pos, current syntax mode, tab settings, etc.). EditorManager is a low-level core module and probably shouldn't be acting as the view/controller layer for the status bar.
StatusBar.js is probably also not the right place, since it seems to be intended more as a generic container that various modules can plug into. We may want to create a new module, e.g. EditorStatus or EditorStatusBar, to contain this code.
The text was updated successfully, but these errors were encountered: