mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Merge branch 'master' into glenn/file-system
This commit is contained in:
commit
f451101704
170 files changed
+5347
-6186
No files matched your search
@@ -131,9 +131,9 @@ define(function (require, exports, module) {
|
||||
var cm = this.editor._codeMirror;
|
||||
|
||||
if (cursor) {
|
||||
return cm.getTokenAt(cursor, true);
|
||||
return cm.getTokenAt(cursor);
|
||||
} else {
|
||||
return cm.getTokenAt(this.getCursor(), true);
|
||||
return cm.getTokenAt(this.getCursor());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -85,8 +85,11 @@ define(function (require, exports, module) {
|
||||
* @param {Array.<Object>} hints - the list of hints to format
|
||||
* @param {string} query - querystring used for highlighting matched
|
||||
* poritions of each hint
|
||||
* @return {Array.<jQuery.Object>} - array of hints formatted as jQuery
|
||||
* objects
|
||||
* @return {jQuery.Deferred|{
|
||||
* hints: Array.<string|jQueryObject>,
|
||||
* match: string,
|
||||
* selectInitial: boolean,
|
||||
* handleWideResults: boolean}}
|
||||
*/
|
||||
function formatHints(hints, query) {
|
||||
return hints.map(function (token) {
|
||||
|
||||
+1
-1
Submodule src/extensions/default/JavaScriptCodeHints/thirdparty/acorn updated: c152be4a2e...83bfd6c536.
+1
-1
Submodule src/extensions/default/JavaScriptCodeHints/thirdparty/tern updated: 21c9f963b9...5fa9000f6d.
Reference in new issue
Block a user