aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/keys.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2013-09-01 23:20:30 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2013-09-01 23:20:30 -0400
commit38788d01b42165d916467f8aec84121d5c1f6fe0 (patch)
tree8e4557272ace380e372833d364859c4a7b9e6a00 /modules/textadept/keys.lua
parentd633a4c74e824113f5d242cb18573fed3015bc27 (diff)
downloadtextadept-38788d01b42165d916467f8aec84121d5c1f6fe0.tar.gz
textadept-38788d01b42165d916467f8aec84121d5c1f6fe0.zip
Renamed `buffer:get_style_name(n)` to `buffer.style_name[n]`.
Diffstat (limited to 'modules/textadept/keys.lua')
-rw-r--r--modules/textadept/keys.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua
index 27f44c86..3acb2a28 100644
--- a/modules/textadept/keys.lua
+++ b/modules/textadept/keys.lua
@@ -241,7 +241,7 @@ M.utils = {
local style = buffer.style_at[buffer.current_pos]
local text = string.format("%s %s\n%s %s (%d)", _L['Lexer'],
buffer:get_lexer(true), _L['Style'],
- buffer:get_style_name(style), style)
+ buffer.style_name[style], style)
buffer:call_tip_show(buffer.current_pos, text)
end,
set_indentation = function(i)