aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-09-18 15:43:13 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-09-18 15:43:13 -0400
commitaacbe584cf9dc3827719e53b901fe69a1f1fba2d (patch)
treeb73a4fc10a55a7bfa39173beb61bf8cb555c797f /core
parent09235063d74f8a7616f3c23d6141fa58a7188fc6 (diff)
downloadtextadept-aacbe584cf9dc3827719e53b901fe69a1f1fba2d.tar.gz
textadept-aacbe584cf9dc3827719e53b901fe69a1f1fba2d.zip
Use `buffer.tab_width` in docstatusbar since `buffer.indent` is 0; core/gui.lua
Diffstat (limited to 'core')
-rw-r--r--core/gui.lua2
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'