diff --git a/src/text-editor-component.js b/src/text-editor-component.js index 855920b3b..c88aab304 100644 --- a/src/text-editor-component.js +++ b/src/text-editor-component.js @@ -2694,7 +2694,7 @@ class TextEditorComponent { } getContentWidth () { - return Math.round(this.getLongestLineWidth() + this.getBaseCharacterWidth()) + return Math.ceil(this.getLongestLineWidth() + this.getBaseCharacterWidth()) } getScrollContainerClientWidthInBaseCharacters () {