Skip to content

Commit 6c31620

Browse files
committed
use updateEditorWidthInChars in setEditorWidthInChars
1 parent 32591f6 commit 6c31620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/text-editor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@ module.exports = class TextEditor {
13431343
// * `editorWidthInChars` A {Number} representing the width of the
13441344
// {TextEditorElement} in characters.
13451345
setEditorWidthInChars(editorWidthInChars) {
1346-
this.update({ editorWidthInChars });
1346+
this.updateEditorWidthInChars(editorWidthInChars, true);
13471347
}
13481348

13491349
// Returns the editor width in characters.

0 commit comments

Comments
 (0)