mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Implement Splitview
This commit is contained in:
1 parent
9083d5280c
commit
af55f97b93
120 files changed
+9186
-3284
No files matched your search
@@ -549,7 +549,7 @@ define(function (require, exports, module) {
|
||||
*
|
||||
* @param {Array} hints - array of hints
|
||||
* @param {StringMatcher} matcher
|
||||
* @returns {Array} - array of matching hints.
|
||||
* @return {Array} - array of matching hints.
|
||||
*/
|
||||
function filterWithQueryAndMatcher(hints, matcher) {
|
||||
var matchResults = $.map(hints, function (hint) {
|
||||
|
||||
@@ -29,6 +29,7 @@ define(function (require, exports, module) {
|
||||
|
||||
var Commands = brackets.getModule("command/Commands"),
|
||||
CommandManager = brackets.getModule("command/CommandManager"),
|
||||
MainViewManager = brackets.getModule("view/MainViewManager"),
|
||||
DocumentManager = brackets.getModule("document/DocumentManager"),
|
||||
Editor = brackets.getModule("editor/Editor").Editor,
|
||||
EditorManager = brackets.getModule("editor/EditorManager"),
|
||||
@@ -54,7 +55,7 @@ define(function (require, exports, module) {
|
||||
CommandManager.register("test-file-open", Commands.FILE_OPEN, function (fileInfo) {
|
||||
// Register a command for FILE_OPEN, which the jump to def code will call
|
||||
return DocumentManager.getDocumentForPath(fileInfo.fullPath).done(function (doc) {
|
||||
DocumentManager.setCurrentDocument(doc);
|
||||
MainViewManager._edit(MainViewManager.ACTIVE_PANE, doc);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -440,7 +441,7 @@ define(function (require, exports, module) {
|
||||
|
||||
// The following call ensures that the document is reloaded
|
||||
// from disk before each test
|
||||
DocumentManager.closeAll();
|
||||
MainViewManager._closeAll(MainViewManager.ALL_PANES);
|
||||
SpecRunnerUtils.destroyMockEditor(testDoc);
|
||||
testEditor = null;
|
||||
testDoc = null;
|
||||
|
||||
Reference in new issue
Block a user