diff options
author | 2012-09-18 15:43:13 -0400 | |
---|---|---|
committer | 2012-09-18 15:43:13 -0400 | |
commit | aacbe584cf9dc3827719e53b901fe69a1f1fba2d (patch) | |
tree | b73a4fc10a55a7bfa39173beb61bf8cb555c797f /core/gui.lua | |
parent | 09235063d74f8a7616f3c23d6141fa58a7188fc6 (diff) | |
download | textadept-aacbe584cf9dc3827719e53b901fe69a1f1fba2d.tar.gz textadept-aacbe584cf9dc3827719e53b901fe69a1f1fba2d.zip |
Use `buffer.tab_width` in docstatusbar since `buffer.indent` is 0; core/gui.lua
Diffstat (limited to 'core/gui.lua')
-rw-r--r-- | core/gui.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gui.lua b/core/gui.lua index c6170a8b..9f142183 100644 --- a/core/gui.lua +++ b/core/gui.lua @@ -344,7 +344,7 @@ events_connect(events.UPDATE_UI, function() local lexer = buffer:private_lexer_call(GETLEXERLANGUAGE) local eol = EOLs[buffer.eol_mode + 1] local tabs = string_format('%s %d', buffer.use_tabs and _L['Tabs:'] or - _L['Spaces:'], buffer.indent) + _L['Spaces:'], buffer.tab_width) local enc = buffer.encoding or '' local text = not NCURSES and '%s %d/%d %s %d %s %s %s %s' or '%s %d/%d %s %d %s %s %s %s' |