aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/menu.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2020-03-11 22:50:30 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2020-03-11 22:50:30 -0400
commit21fe6139c683240c6be4718e448c4915b2fc1021 (patch)
tree2ffb5879684cd60adabff8c418dfb68c12e67555 /modules/textadept/menu.lua
parentb9d6697007bc10244f542fc8d3b6386823bd99c3 (diff)
downloadtextadept-21fe6139c683240c6be4718e448c4915b2fc1021.tar.gz
textadept-21fe6139c683240c6be4718e448c4915b2fc1021.zip
Replaced `buffer.style_name` table with `buffer:name_of_style()`.
This requires Scintilla changeset 429993cf4429.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r--modules/textadept/menu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua
index f986037a..24790f96 100644
--- a/modules/textadept/menu.lua
+++ b/modules/textadept/menu.lua
@@ -256,7 +256,7 @@ local default_menubar = {
local text = string.format("'%s' (U+%04X:%s)\n%s %s\n%s %s (%d)", char,
utf8.codepoint(char), bytes, _L['Lexer'],
buffer:get_lexer(true), _L['Style'],
- buffer.style_name[style], style)
+ buffer:name_of_style(style), style)
buffer:call_tip_show(buffer.current_pos, text)
end}
},