Skip to content

Commit 0ec70a8

Browse files
committed
use updateSoftTabs in setSoftTabs
1 parent 6c31620 commit 0ec70a8

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
@@ -4207,7 +4207,7 @@ module.exports = class TextEditor {
42074207
// * `softTabs` A {Boolean}
42084208
setSoftTabs(softTabs) {
42094209
this.softTabs = softTabs;
4210-
this.update({ softTabs: this.softTabs });
4210+
this.updateSoftTabs(this.softTabs, true);
42114211
}
42124212

42134213
// Returns a {Boolean} indicating whether atomic soft tabs are enabled for this editor.

0 commit comments

Comments
 (0)