Mercurial > vim
annotate src/proto/ex_getln.pro @ 17545:1e45331bd2ab v8.1.1770
patch 8.1.1770: cannot get the window ID of the popup preview window
commit https://github.com/vim/vim/commit/56c0c4749d58e9331b212c38df46e2993d5d97c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 28 17:57:43 2019 +0200
patch 8.1.1770: cannot get the window ID of the popup preview window
Problem: Cannot get the window ID of the popup preview window.
Solution: Add popup_getpreview().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Jul 2019 18:00:05 +0200 |
parents | e43f0c0c491c |
children | 9efb4dda9720 |
rev | line source |
---|---|
7 | 1 /* ex_getln.c */ |
15195
16b2f2db6f28
patch 8.1.0607: proto files are not in sync with the source code
Bram Moolenaar <Bram@vim.org>
parents:
14854
diff
changeset
|
2 void cmdline_init(void); |
17178
40c4cb095d53
patch 8.1.1588: in :let-heredoc line continuation is recognized
Bram Moolenaar <Bram@vim.org>
parents:
16354
diff
changeset
|
3 char_u *getcmdline(int firstc, long count, int indent, int do_concat); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
4 char_u *getcmdline_prompt(int firstc, char_u *prompt, int attr, int xp_context, char_u *xp_arg); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
5 int text_locked(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
6 void text_locked_msg(void); |
15470
55ccc2d353bd
patch 8.1.0743: giving error messages is not flexible
Bram Moolenaar <Bram@vim.org>
parents:
15195
diff
changeset
|
7 char *get_text_locked_msg(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
8 int curbuf_locked(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
9 int allbuf_locked(void); |
17178
40c4cb095d53
patch 8.1.1588: in :let-heredoc line continuation is recognized
Bram Moolenaar <Bram@vim.org>
parents:
16354
diff
changeset
|
10 char_u *getexline(int c, void *cookie, int indent, int do_concat); |
40c4cb095d53
patch 8.1.1588: in :let-heredoc line continuation is recognized
Bram Moolenaar <Bram@vim.org>
parents:
16354
diff
changeset
|
11 char_u *getexmodeline(int promptc, void *cookie, int indent, int do_concat); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
12 int cmdline_overstrike(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
13 int cmdline_at_end(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
14 colnr_T cmdline_getvcol_cursor(void); |
17266
a9556c0ba457
patch 8.1.1632: build with EXITFREE but without +arabic fails
Bram Moolenaar <Bram@vim.org>
parents:
17178
diff
changeset
|
15 void free_arshape_buf(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
16 void putcmdline(int c, int shift); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
17 void unputcmdline(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
18 int put_on_cmdline(char_u *str, int len, int redraw); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
19 void cmdline_paste_str(char_u *s, int literally); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
20 void redrawcmdline(void); |
11416
32aed0993813
patch 8.0.0592: if a job writes to a buffer screen is not updated
Christian Brabandt <cb@256bit.org>
parents:
10120
diff
changeset
|
21 void redrawcmdline_ex(int do_compute_cmdrow); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
22 void redrawcmd(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
23 void compute_cmdrow(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
24 void gotocmdline(int clr); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
25 char_u *ExpandOne(expand_T *xp, char_u *str, char_u *orig, int options, int mode); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
26 void ExpandInit(expand_T *xp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
27 void ExpandCleanup(expand_T *xp); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
28 void ExpandEscape(expand_T *xp, char_u *str, int numfiles, char_u **files, int options); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
29 char_u *vim_strsave_fnameescape(char_u *fname, int shell); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
30 void tilde_replace(char_u *orig_pat, int num_files, char_u **files); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
31 char_u *sm_gettail(char_u *s); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
32 char_u *addstar(char_u *fname, int len, int context); |
10120
fb040c9d8ce9
commit https://github.com/vim/vim/commit/33a80eeb859a78ba93432da6fa585786cfd77249
Christian Brabandt <cb@256bit.org>
parents:
10082
diff
changeset
|
33 void set_cmd_context(expand_T *xp, char_u *str, int len, int col, int use_ccline); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
34 int expand_cmdline(expand_T *xp, char_u *str, int col, int *matchcount, char_u ***matches); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
35 int ExpandGeneric(expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file, char_u *((*func)(expand_T *, int)), int escaped); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
36 void globpath(char_u *path, char_u *file, garray_T *ga, int expand_options); |
17460
e43f0c0c491c
patch 8.1.1728: wrong place for command line history viminfo support
Bram Moolenaar <Bram@vim.org>
parents:
17266
diff
changeset
|
37 int hist_char2type(int c); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
38 void init_history(void); |
17460
e43f0c0c491c
patch 8.1.1728: wrong place for command line history viminfo support
Bram Moolenaar <Bram@vim.org>
parents:
17266
diff
changeset
|
39 void clear_hist_entry(histentry_T *hisptr); |
e43f0c0c491c
patch 8.1.1728: wrong place for command line history viminfo support
Bram Moolenaar <Bram@vim.org>
parents:
17266
diff
changeset
|
40 int in_history(int type, char_u *str, int move_to_front, int sep, int writing); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
41 int get_histtype(char_u *name); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
42 void add_to_history(int histype, char_u *new_entry, int in_map, int sep); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
43 int get_history_idx(int histype); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
44 char_u *get_history_entry(int histype, int idx); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
45 int clr_history(int histype); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
46 int del_history_entry(int histype, char_u *str); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
47 int del_history_idx(int histype, int idx); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
48 void remove_key_from_history(void); |
9240
636cfa97200e
commit https://github.com/vim/vim/commit/45d2eeaad66939348893b9254171067b0457cd9d
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
49 char_u *get_cmdline_str(void); |
636cfa97200e
commit https://github.com/vim/vim/commit/45d2eeaad66939348893b9254171067b0457cd9d
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
50 int get_cmdline_pos(void); |
636cfa97200e
commit https://github.com/vim/vim/commit/45d2eeaad66939348893b9254171067b0457cd9d
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
51 int set_cmdline_pos(int pos); |
636cfa97200e
commit https://github.com/vim/vim/commit/45d2eeaad66939348893b9254171067b0457cd9d
Christian Brabandt <cb@256bit.org>
parents:
7668
diff
changeset
|
52 int get_cmdline_type(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
53 int get_list_range(char_u **str, int *num1, int *num2); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
54 void ex_history(exarg_T *eap); |
17460
e43f0c0c491c
patch 8.1.1728: wrong place for command line history viminfo support
Bram Moolenaar <Bram@vim.org>
parents:
17266
diff
changeset
|
55 int get_hislen(void); |
e43f0c0c491c
patch 8.1.1728: wrong place for command line history viminfo support
Bram Moolenaar <Bram@vim.org>
parents:
17266
diff
changeset
|
56 histentry_T *get_histentry(int hist_type); |
e43f0c0c491c
patch 8.1.1728: wrong place for command line history viminfo support
Bram Moolenaar <Bram@vim.org>
parents:
17266
diff
changeset
|
57 void set_histentry(int hist_type, histentry_T *entry); |
e43f0c0c491c
patch 8.1.1728: wrong place for command line history viminfo support
Bram Moolenaar <Bram@vim.org>
parents:
17266
diff
changeset
|
58 int *get_hisidx(int hist_type); |
e43f0c0c491c
patch 8.1.1728: wrong place for command line history viminfo support
Bram Moolenaar <Bram@vim.org>
parents:
17266
diff
changeset
|
59 int *get_hisnum(int hist_type); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
5873
diff
changeset
|
60 char_u *script_get(exarg_T *eap, char_u *cmd); |
7 | 61 /* vim: set ft=c : */ |