Skip to content

Commit 6df8e77

Browse files
committed
use updateSoftWrapped in setSoftWrapped
1 parent 25b9997 commit 6df8e77

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
@@ -4316,7 +4316,7 @@ module.exports = class TextEditor {
43164316
//
43174317
// Returns a {Boolean}.
43184318
setSoftWrapped(softWrapped) {
4319-
this.update({ softWrapped });
4319+
this.updateSoftWrapped(softWrapped, true);
43204320
return this.isSoftWrapped();
43214321
}
43224322

0 commit comments

Comments
 (0)