mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Merge remote-tracking branch 'upstream/master' into pflynn/JakeStoeffler-languageselector-updated
WARNING: defunc commit -- cyclical dependency Conflicts: src/editor/EditorStatusBar.js src/language/LanguageManager.js
This commit is contained in:
commit
331ccd3527
173 files changed
+7090
-2026
No files matched your search
@@ -200,7 +200,7 @@ define(function (require, exports, module) {
|
||||
break;
|
||||
}
|
||||
prev = this.getToken(cursor);
|
||||
} while (prev.string.trim() === "");
|
||||
} while (!/\S/.test(prev.string));
|
||||
|
||||
return prev;
|
||||
};
|
||||
@@ -232,7 +232,7 @@ define(function (require, exports, module) {
|
||||
break;
|
||||
}
|
||||
next = this.getToken(cursor);
|
||||
} while (skipWhitespace && next.string.trim() === "");
|
||||
} while (skipWhitespace && !/\S/.test(next.string));
|
||||
|
||||
return next;
|
||||
};
|
||||
|
||||
@@ -631,7 +631,7 @@ define(function (require, exports, module) {
|
||||
|
||||
|
||||
// Only provide jump-to-definition results when cursor is in JavaScript content
|
||||
if (session.editor.getModeForSelection() !== "javascript") {
|
||||
if (!session || session.editor.getModeForSelection() !== "javascript") {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user