Mercurial > vim
annotate src/proto/edit.pro @ 29944:34c5647efe7a v9.0.0310
patch 9.0.0310: output of :messages dissappears when cmdheight is zero
Commit: https://github.com/vim/vim/commit/b849c82851192cf14cd92b78d83d90ca432332ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 28 22:46:21 2022 +0100
patch 9.0.0310: output of :messages dissappears when cmdheight is zero
Problem: Output of :messages dissappears when cmdheight is zero.
Solution: Do not use the messages window for :messages. Make Esc close the
messages window.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 29 Aug 2022 00:00:04 +0200 |
parents | beab53bb989e |
children | 04df44c52d65 |
rev | line source |
---|---|
7 | 1 /* edit.c */ |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
2 int edit(int cmdchar, int startln, long count); |
16142
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
16127
diff
changeset
|
3 int ins_need_undo_get(void); |
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
16127
diff
changeset
|
4 void ins_redraw(int ready); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
5 void edit_putchar(int c, int highlight); |
22095
2cc0de1e05a6
patch 8.2.1597: the channel source file is too big
Bram Moolenaar <Bram@vim.org>
parents:
22077
diff
changeset
|
6 void set_insstart(linenr_T lnum, int col); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
7 void edit_unputchar(void); |
29757
beab53bb989e
patch 9.0.0218: reading before the start of the line
Bram Moolenaar <Bram@vim.org>
parents:
25567
diff
changeset
|
8 void display_dollar(colnr_T col_arg); |
18135
1868ec23360e
patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
16142
diff
changeset
|
9 void undisplay_dollar(void); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
10 void truncate_spaces(char_u *line); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
11 void backspace_until_column(int col); |
23076
5fbac68bda23
patch 8.2.2084: CTRL-V U doesn't work to enter a Unicode character
Bram Moolenaar <Bram@vim.org>
parents:
22095
diff
changeset
|
12 int get_literal(int noReduceKeys); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
13 void insertchar(int c, int flags, int second_indent); |
16142
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
16127
diff
changeset
|
14 void start_arrow(pos_T *end_insert_pos); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
15 int stop_arrow(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
16 void set_last_insert(int c); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
17 void free_last_insert(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
18 char_u *add_char2buf(int c, char_u *s); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
19 void beginline(int flags); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
20 int oneright(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
21 int oneleft(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
22 int cursor_up(long n, int upd_topline); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
23 int cursor_down(long n, int upd_topline); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
24 int stuff_inserted(int c, long count, int no_esc); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
25 char_u *get_last_insert(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
26 char_u *get_last_insert_save(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
27 void replace_push(int c); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
28 int replace_push_mb(char_u *p); |
18265
fe5afdc03bd2
patch 8.1.2127: the indent.c file is a bit big
Bram Moolenaar <Bram@vim.org>
parents:
18135
diff
changeset
|
29 void replace_join(int off); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
30 int hkmap(int c); |
10640
27be410d6d29
patch 8.0.0210: no support for bracketed paste
Christian Brabandt <cb@256bit.org>
parents:
10277
diff
changeset
|
31 int bracketed_paste(paste_mode_T mode, int drop, garray_T *gap); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
32 void ins_scroll(void); |
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
33 void ins_horscroll(void); |
16142
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
16127
diff
changeset
|
34 int ins_eol(int c); |
7668
21b0a39d13ed
commit https://github.com/vim/vim/commit/ef26954a35207c3f17d6ed35d9a40c918d974892
Christian Brabandt <cb@256bit.org>
parents:
3501
diff
changeset
|
35 int ins_copychar(linenr_T lnum); |
15062
3a94f7918980
patch 8.1.0542: shiftwidth() does not take 'vartabstop' into account
Bram Moolenaar <Bram@vim.org>
parents:
14019
diff
changeset
|
36 colnr_T get_nolist_virtcol(void); |
18135
1868ec23360e
patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
16142
diff
changeset
|
37 int get_can_cindent(void); |
1868ec23360e
patch 8.1.2062: the mouse code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
16142
diff
changeset
|
38 void set_can_cindent(int val); |
16142
570a296aa0b4
patch 8.1.1076: file for Insert mode is much too big
Bram Moolenaar <Bram@vim.org>
parents:
16127
diff
changeset
|
39 int ins_apply_autocmds(event_T event); |
7 | 40 /* vim: set ft=c : */ |