Browse Source

small changes

cl-refactor
yann300 10 years ago
parent
commit
04bb0ff263
  1. 2
      mix/qml/html/cm/errorannotation.js

2
mix/qml/html/cm/errorannotation.js

@ -13,7 +13,7 @@ function ErrorAnnotation(editor, line, column, content)
ErrorAnnotation.prototype.init = function()
{
var separators = ['\\\+', '-', ';', '\\\(', '\\\{', '\\\}', '\\\)', '\\*', '/', ':', '\\\?'];
var separators = [';', ',', '\\\(', '\\\{', '\\\}', '\\\)', ':'];
var errorPart = editor.getLine(this.line).substring(this.column);
var incrMark = this.column + errorPart.split(new RegExp(separators.join('|'), 'g'))[0].length;
if (incrMark === this.column)

Loading…
Cancel
Save