Skip to content

Commit 25b9997

Browse files
committed
use updateTabLength in setTabLength
1 parent 0ec70a8 commit 25b9997

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
@@ -4233,7 +4233,7 @@ module.exports = class TextEditor {
42334233
// * `tabLength` {Number} length of a single tab. Setting to `null` will
42344234
// fallback to using the `editor.tabLength` config setting
42354235
setTabLength(tabLength) {
4236-
this.update({ tabLength });
4236+
this.updateTabLength(tabLength, true);
42374237
}
42384238

42394239
// Returns an {Object} representing the current invisible character

0 commit comments

Comments
 (0)