mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
performance: do not use precise token parsing
This commit is contained in:
1 parent
eb84a93fa1
commit
dc0ed463f4
1 file changed
+2
-2
@@ -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());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user