mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
ext_cmdline: rename cmdline_char to cmdline_special_char
This commit is contained in:
parent
a68817f565
commit
f2aaa4ae8b
@ -73,7 +73,7 @@ void cmdline_show(Array content, Integer pos, String firstc, String prompt,
|
|||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
void cmdline_pos(Integer pos, Integer level)
|
void cmdline_pos(Integer pos, Integer level)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
void cmdline_char(String c, Integer shift, Integer level)
|
void cmdline_special_char(String c, Boolean shift, Integer level)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
void cmdline_hide(Integer level)
|
void cmdline_hide(Integer level)
|
||||||
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
|
||||||
|
@ -2805,7 +2805,8 @@ void putcmdline(int c, int shift)
|
|||||||
}
|
}
|
||||||
msg_no_more = false;
|
msg_no_more = false;
|
||||||
} else {
|
} else {
|
||||||
ui_call_cmdline_char(cchar_to_string((char)(c)), shift, ccline.level);
|
ui_call_cmdline_special_char(cchar_to_string((char)(c)), shift,
|
||||||
|
ccline.level);
|
||||||
}
|
}
|
||||||
cursorcmd();
|
cursorcmd();
|
||||||
ui_cursor_shape();
|
ui_cursor_shape();
|
||||||
|
@ -21,7 +21,9 @@ describe('External command line completion', function()
|
|||||||
elseif name == "cmdline_show" then
|
elseif name == "cmdline_show" then
|
||||||
shown = true
|
shown = true
|
||||||
content, pos, firstc, prompt, indent, level = unpack(data)
|
content, pos, firstc, prompt, indent, level = unpack(data)
|
||||||
elseif name == "cmdline_char" then
|
-- FIXME:
|
||||||
|
--char, shift = nil, nil
|
||||||
|
elseif name == "cmdline_special_char" then
|
||||||
char, shift = unpack(data)
|
char, shift = unpack(data)
|
||||||
elseif name == "cmdline_pos" then
|
elseif name == "cmdline_pos" then
|
||||||
pos = data[1]
|
pos = data[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user