From 1702ce40cbcbfe53d9b57f3e9cde8ecfc441800a Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 9 Jun 2020 14:41:28 -0400 Subject: Prefer `view.call_tip_*` instead of `buffer.call_tip_*`. --- 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 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} }, { -- cgit v1.2.3