diff --git a/src/layer/Text.js b/src/layer/Text.js index 2e7f120d..14c65eb7 100644 --- a/src/layer/Text.js +++ b/src/layer/Text.js @@ -115,7 +115,7 @@ ace.layer.Text = function(parentEl) { } }; - if (this.$showInvisibles) + if (this.$showInvisibles && row !== this.doc.getLength() - 1) stringBuilder.push(""); };