Merge branch 'vim' of http://github.com/ajaxorg/ace into vim
This commit is contained in:
commit
ebd9356e7b
1 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,9 @@ var Gutter = function(parentEl) {
|
|||
};
|
||||
for (var i=0; i<rowAnnotations.length; i++) {
|
||||
var annotation = rowAnnotations[i];
|
||||
rowInfo.text.push(annotation.text.replace(/"/g, """).replace(/'/g, "’").replace(/</, "<"));
|
||||
var annoText = annotation.text.replace(/"/g, """).replace(/'/g, "’").replace(/</, "<");
|
||||
if (rowInfo.text.indexOf(annoText) === -1)
|
||||
rowInfo.text.push(annoText);
|
||||
var type = annotation.type;
|
||||
if (type == "error")
|
||||
rowInfo.className = "ace_error";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue