mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Move status bar code out of EditorManager into a new module. Keeps
EditorManager tightly focused on maintaining the set of Editors and gives the status bar code room to grow for future UI additions. This removes EditorManager._init() and the manual calls to it from unit tests, which seem unnecessary. EditorStatusBar._init() is still called on htmlReady - just not manually called by any unit tests. Also, change the status bar code to use active editor more consistently (used to use focused editor sometimes).
This commit is contained in:
1 parent
799b3efbbd
commit
821b7b2e19
6 files changed
+191
-148
No files matched your search
@@ -52,7 +52,6 @@ define(function (require, exports, module) {
|
||||
// Initialize EditorManager
|
||||
var $editorHolder = $("<div id='mock-editor-holder'/>");
|
||||
EditorManager.setEditorHolder($editorHolder);
|
||||
EditorManager._init();
|
||||
$("body").append($editorHolder);
|
||||
|
||||
// create Editor instance
|
||||
|
||||
Reference in new issue
Block a user