add missing else
This commit is contained in:
parent
f02db6ff62
commit
c0841aa843
1 changed files with 3 additions and 6 deletions
|
|
@ -80,17 +80,14 @@ var Marker = function(parentEl) {
|
||||||
var top = this.$getTop(range.start.row, config);
|
var top = this.$getTop(range.start.row, config);
|
||||||
var left = this.$padding + range.start.column * config.characterWidth;
|
var left = this.$padding + range.start.column * config.characterWidth;
|
||||||
marker.renderer(html, range, left, top, config);
|
marker.renderer(html, range, left, top, config);
|
||||||
}
|
} else if (marker.type == "fullLine") {
|
||||||
if (marker.type == "fullLine") {
|
|
||||||
this.drawFullLineMarker(html, range, marker.clazz, config);
|
this.drawFullLineMarker(html, range, marker.clazz, config);
|
||||||
}
|
} else if (range.isMultiLine()) {
|
||||||
else if (range.isMultiLine()) {
|
|
||||||
if (marker.type == "text")
|
if (marker.type == "text")
|
||||||
this.drawTextMarker(html, range, marker.clazz, config);
|
this.drawTextMarker(html, range, marker.clazz, config);
|
||||||
else
|
else
|
||||||
this.drawMultiLineMarker(html, range, marker.clazz, config);
|
this.drawMultiLineMarker(html, range, marker.clazz, config);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
this.drawSingleLineMarker(html, range, marker.clazz + " ace_start", config);
|
this.drawSingleLineMarker(html, range, marker.clazz + " ace_start", config);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue