From 21fe6139c683240c6be4718e448c4915b2fc1021 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Wed, 11 Mar 2020 22:50:30 -0400 Subject: Replaced `buffer.style_name` table with `buffer:name_of_style()`. This requires Scintilla changeset 429993cf4429. --- modules/textadept/menu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/menu.lua') 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} }, -- cgit v1.2.3