don't render a new line character in the last line
This commit is contained in:
parent
6fa8ca3f64
commit
68e36be961
1 changed files with 1 additions and 1 deletions
|
|
@ -115,7 +115,7 @@ ace.layer.Text = function(parentEl) {
|
|||
}
|
||||
};
|
||||
|
||||
if (this.$showInvisibles)
|
||||
if (this.$showInvisibles && row !== this.doc.getLength() - 1)
|
||||
stringBuilder.push("<span class='invisible'>" + this.ENTER_CHAR + "</span>");
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue