From eef00d04d7f04d352b0df8055de4058a15b653f1 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Sun, 28 Jun 2020 10:10:41 -0400 Subject: Renamed `ui.bufstatusbar_text` to `ui.buffer_statusbar_text`. --- core/ui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/ui.lua') diff --git a/core/ui.lua b/core/ui.lua index aa685e14..ee0042b3 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -19,7 +19,7 @@ local ui = ui -- The text on the clipboard. -- @field statusbar_text (string, Write-only) -- The text displayed in the statusbar. --- @field bufstatusbar_text (string, Write-only) +-- @field buffer_statusbar_text (string, Write-only) -- The text displayed in the buffer statusbar. -- @field maximized (bool) -- Whether or not Textadept's window is maximized. @@ -336,7 +336,7 @@ events_connect(events.UPDATE_UI, function(updated) local tabs = string.format( '%s %d', buffer.use_tabs and _L['Tabs:'] or _L['Spaces:'], buffer.tab_width) local enc = buffer.encoding or '' - ui.bufstatusbar_text = string.format( + ui.buffer_statusbar_text = string.format( text, _L['Line:'], line, max, _L['Col:'], col, lexer, eol, tabs, enc) end) -- cgit v1.2.3