Mercurial > vim
comparison src/proto/ex_getln.pro @ 20229:06a1dd50463e v8.2.0670
patch 8.2.0670: cannot change window when evaluating 'completefunc'
Commit: https://github.com/vim/vim/commit/6adb9ea0a6ca01414f4b591f379b0f829a8273c0
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 30 22:31:18 2020 +0200
patch 8.2.0670: cannot change window when evaluating 'completefunc'
Problem: Cannot change window when evaluating 'completefunc'.
Solution: Make a difference between not changing text or buffers and also
not changing window.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 Apr 2020 22:45:04 +0200 |
parents | fd95d4dbeb37 |
children | a427f5f26419 |
comparison
equal
deleted
inserted
replaced
20228:4fb1da5a5031 | 20229:06a1dd50463e |
---|---|
1 /* ex_getln.c */ | 1 /* ex_getln.c */ |
2 void cmdline_init(void); | 2 void cmdline_init(void); |
3 char_u *getcmdline(int firstc, long count, int indent, int do_concat); | 3 char_u *getcmdline(int firstc, long count, int indent, int do_concat); |
4 char_u *getcmdline_prompt(int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg); | 4 char_u *getcmdline_prompt(int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg); |
5 int check_opt_wim(void); | 5 int check_opt_wim(void); |
6 int text_locked(void); | 6 int text_and_win_locked(void); |
7 void text_locked_msg(void); | 7 void text_locked_msg(void); |
8 char *get_text_locked_msg(void); | 8 char *get_text_locked_msg(void); |
9 int text_locked(void); | |
9 int curbuf_locked(void); | 10 int curbuf_locked(void); |
10 int allbuf_locked(void); | 11 int allbuf_locked(void); |
11 char_u *getexline(int c, void *cookie, int indent, int do_concat); | 12 char_u *getexline(int c, void *cookie, int indent, int do_concat); |
12 char_u *getexmodeline(int promptc, void *cookie, int indent, int do_concat); | 13 char_u *getexmodeline(int promptc, void *cookie, int indent, int do_concat); |
13 int cmdline_overstrike(void); | 14 int cmdline_overstrike(void); |