add missing else

This commit is contained in:
nightwing 2012-11-04 17:28:20 +04:00
commit c0841aa843

View file

@ -80,17 +80,14 @@ var Marker = function(parentEl) {
var top = this.$getTop(range.start.row, config);
var left = this.$padding + range.start.column * config.characterWidth;
marker.renderer(html, range, left, top, config);
}
if (marker.type == "fullLine") {
} else if (marker.type == "fullLine") {
this.drawFullLineMarker(html, range, marker.clazz, config);
}
else if (range.isMultiLine()) {
} else if (range.isMultiLine()) {
if (marker.type == "text")
this.drawTextMarker(html, range, marker.clazz, config);
else
this.drawMultiLineMarker(html, range, marker.clazz, config);
}
else {
} else {
this.drawSingleLineMarker(html, range, marker.clazz + " ace_start", config);
}
}