Mercurial > vim
comparison src/proto/ex_getln.pro @ 29894:d8fc1effa724 v9.0.0285
patch 9.0.0285: it is not easy to change the command line from a plugin
Commit: https://github.com/vim/vim/commit/07ea5f1509fe8dafe3262ed2702b4d0fc99e288b
Author: Shougo Matsushita <Shougo.Matsu@gmail.com>
Date: Sat Aug 27 12:22:25 2022 +0100
patch 9.0.0285: it is not easy to change the command line from a plugin
Problem: It is not easy to change the command line from a plugin.
Solution: Add setcmdline(). (Shougo Matsushita, closes https://github.com/vim/vim/issues/10869)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 Aug 2022 13:30:04 +0200 |
parents | e150d0e4701f |
children | 444dd4cc49d6 |
comparison
equal
deleted
inserted
replaced
29893:0ee1b461d692 | 29894:d8fc1effa724 |
---|---|
32 cmdline_info_T *get_cmdline_info(void); | 32 cmdline_info_T *get_cmdline_info(void); |
33 void f_getcmdcompltype(typval_T *argvars, typval_T *rettv); | 33 void f_getcmdcompltype(typval_T *argvars, typval_T *rettv); |
34 void f_getcmdline(typval_T *argvars, typval_T *rettv); | 34 void f_getcmdline(typval_T *argvars, typval_T *rettv); |
35 void f_getcmdpos(typval_T *argvars, typval_T *rettv); | 35 void f_getcmdpos(typval_T *argvars, typval_T *rettv); |
36 void f_getcmdscreenpos(typval_T *argvars, typval_T *rettv); | 36 void f_getcmdscreenpos(typval_T *argvars, typval_T *rettv); |
37 int set_cmdline_str(char_u *str, int pos); | |
38 void f_setcmdline(typval_T *argvars, typval_T *rettv); | |
37 void f_setcmdpos(typval_T *argvars, typval_T *rettv); | 39 void f_setcmdpos(typval_T *argvars, typval_T *rettv); |
38 void f_getcmdtype(typval_T *argvars, typval_T *rettv); | 40 void f_getcmdtype(typval_T *argvars, typval_T *rettv); |
39 int get_cmdline_firstc(void); | 41 int get_cmdline_firstc(void); |
40 int get_list_range(char_u **str, int *num1, int *num2); | 42 int get_list_range(char_u **str, int *num1, int *num2); |
41 char *check_cedit(void); | 43 char *check_cedit(void); |