Mercurial > vim
comparison src/proto/getchar.pro @ 26929:9975bd408d6c v8.2.3993
patch 8.2.3993: when recording a change in Select mode char appears twice
Commit: https://github.com/vim/vim/commit/c88e977862ba6477a3b5b28706c45f96069a3073
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 3 13:47:50 2022 +0000
patch 8.2.3993: when recording a change in Select mode char appears twice
Problem: When recording a change in Select mode the first typed character
appears twice.
Solution: When putting the character back into typeahead remove it from
recorded characters. (closes #9462)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 03 Jan 2022 15:00:05 +0100 |
parents | 0082503ff2ff |
children | a9eeb18e749c |
comparison
equal
deleted
inserted
replaced
26928:05290f930ed6 | 26929:9975bd408d6c |
---|---|
22 int start_redo(long count, int old_redo); | 22 int start_redo(long count, int old_redo); |
23 int start_redo_ins(void); | 23 int start_redo_ins(void); |
24 void stop_redo_ins(void); | 24 void stop_redo_ins(void); |
25 int noremap_keys(void); | 25 int noremap_keys(void); |
26 int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent); | 26 int ins_typebuf(char_u *str, int noremap, int offset, int nottyped, int silent); |
27 void ins_char_typebuf(int c, int modifier); | 27 int ins_char_typebuf(int c, int modifier); |
28 int typebuf_changed(int tb_change_cnt); | 28 int typebuf_changed(int tb_change_cnt); |
29 int typebuf_typed(void); | 29 int typebuf_typed(void); |
30 int typebuf_maplen(void); | 30 int typebuf_maplen(void); |
31 void del_typebuf(int len, int offset); | 31 void del_typebuf(int len, int offset); |
32 void ungetchars(int len); | |
32 int save_typebuf(void); | 33 int save_typebuf(void); |
33 void save_typeahead(tasave_T *tp); | 34 void save_typeahead(tasave_T *tp); |
34 void restore_typeahead(tasave_T *tp, int overwrite); | 35 void restore_typeahead(tasave_T *tp, int overwrite); |
35 void openscript(char_u *name, int directly); | 36 void openscript(char_u *name, int directly); |
36 void close_all_scripts(void); | 37 void close_all_scripts(void); |