We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fb3820a + 3948937 commit f505879Copy full SHA for f505879
lib/ace/layer/gutter.js
@@ -93,7 +93,10 @@ var Gutter = function(parentEl) {
93
rowInfo.text.push(annoText);
94
95
var type = annotation.type;
96
- if (type == "error")
+ var className = annotation.className;
97
+ if (className)
98
+ rowInfo.className = className;
99
+ else if (type == "error")
100
rowInfo.className = " ace_error";
101
else if (type == "warning" && rowInfo.className != " ace_error")
102
rowInfo.className = " ace_warning";
0 commit comments