mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Merge pull request #4234 from adobe/nj/update-cm
Update to latest CodeMirror
This commit is contained in:
commit
10f4054b2f
11 files changed
+22
-27
No files matched your search
@@ -119,9 +119,9 @@ define(function (require, exports, module) {
|
||||
var cm = this.editor._codeMirror;
|
||||
|
||||
if (cursor) {
|
||||
return cm.getTokenAt(cursor);
|
||||
return cm.getTokenAt(cursor, true);
|
||||
} else {
|
||||
return cm.getTokenAt(this.getCursor());
|
||||
return cm.getTokenAt(this.getCursor(), true);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user