diff options
author | 2020-06-09 14:41:28 -0400 | |
---|---|---|
committer | 2020-06-09 14:41:28 -0400 | |
commit | 1702ce40cbcbfe53d9b57f3e9cde8ecfc441800a (patch) | |
tree | 98d3045b5e163a3755d9b48e16b3f4b63b1e04e1 /modules/textadept/menu.lua | |
parent | ada6a867c87be0ed746cdb94c28ff24f8288280c (diff) | |
download | textadept-1702ce40cbcbfe53d9b57f3e9cde8ecfc441800a.tar.gz textadept-1702ce40cbcbfe53d9b57f3e9cde8ecfc441800a.zip |
Prefer `view.call_tip_*` instead of `buffer.call_tip_*`.
Diffstat (limited to 'modules/textadept/menu.lua')
-rw-r--r-- | modules/textadept/menu.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/menu.lua b/modules/textadept/menu.lua index c998ade6..19262ca6 100644 --- a/modules/textadept/menu.lua +++ b/modules/textadept/menu.lua @@ -257,7 +257,7 @@ local default_menubar = { "'%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:name_of_style(style), style) - buffer:call_tip_show(buffer.current_pos, text) + view:call_tip_show(buffer.current_pos, text) end} }, { |