Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* normal.c */ |
Bram Moolenaar | cc762a4 | 2022-11-25 13:03:31 +0000 | [diff] [blame] | 2 | int check_text_or_curbuf_locked(oparg_T *oap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 3 | void normal_cmd(oparg_T *oap, int toplevel); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 4 | void check_visual_highlight(void); |
| 5 | void end_visual_mode(void); |
Bram Moolenaar | 4f3c57f | 2021-06-03 22:11:08 +0200 | [diff] [blame] | 6 | void end_visual_mode_keep_button(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 7 | void reset_VIsual_and_resel(void); |
| 8 | void reset_VIsual(void); |
Bram Moolenaar | 792cf5e | 2019-09-30 23:12:16 +0200 | [diff] [blame] | 9 | void restore_visual_mode(void); |
Bram Moolenaar | 7ba343e | 2019-07-09 23:22:15 +0200 | [diff] [blame] | 10 | int find_ident_under_cursor(char_u **text, int find_type); |
| 11 | int find_ident_at_pos(win_T *wp, linenr_T lnum, colnr_T startcol, char_u **text, int *textcol, int find_type); |
Bram Moolenaar | 792cf5e | 2019-09-30 23:12:16 +0200 | [diff] [blame] | 12 | void prep_redo(int regname, long num, int cmd1, int cmd2, int cmd3, int cmd4, int cmd5); |
Bram Moolenaar | 2228cd7 | 2021-11-22 14:16:08 +0000 | [diff] [blame] | 13 | void prep_redo_num2(int regname, long num1, int cmd1, int cmd2, long num2, int cmd3, int cmd4, int cmd5); |
Bram Moolenaar | b20b9e1 | 2019-09-21 20:48:04 +0200 | [diff] [blame] | 14 | void clearop(oparg_T *oap); |
| 15 | void clearopbeep(oparg_T *oap); |
Bram Moolenaar | 792cf5e | 2019-09-30 23:12:16 +0200 | [diff] [blame] | 16 | void may_clear_cmdline(void); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 17 | void clear_showcmd(void); |
| 18 | int add_to_showcmd(int c); |
| 19 | void add_to_showcmd_c(int c); |
| 20 | void push_showcmd(void); |
| 21 | void pop_showcmd(void); |
| 22 | void do_check_scrollbind(int check); |
| 23 | void check_scrollbind(linenr_T topline_diff, long leftcol_diff); |
Bram Moolenaar | a6b7a08 | 2016-08-10 20:53:05 +0200 | [diff] [blame] | 24 | int find_decl(char_u *ptr, int len, int locally, int thisblock, int flags_arg); |
Luuk van Baal | cb204e6 | 2024-04-02 20:49:45 +0200 | [diff] [blame] | 25 | int nv_screengo(oparg_T *oap, int dir, long dist); |
Bram Moolenaar | b20b9e1 | 2019-09-21 20:48:04 +0200 | [diff] [blame] | 26 | void nv_scroll_line(cmdarg_T *cap); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 27 | void handle_tabmenu(void); |
| 28 | void do_nv_ident(int c1, int c2); |
| 29 | int get_visual_text(cmdarg_T *cap, char_u **pp, int *lenp); |
| 30 | void start_selection(void); |
| 31 | void may_start_select(int c); |
Yegappan Lakshmanan | d2232d7 | 2025-03-24 20:36:14 +0100 | [diff] [blame] | 32 | void nv_g_home_m_cmd(cmdarg_T *cap); |
Bram Moolenaar | 792cf5e | 2019-09-30 23:12:16 +0200 | [diff] [blame] | 33 | int unadjust_for_sel(void); |
zeertzjq | 701ad50 | 2024-05-23 07:47:55 +0200 | [diff] [blame] | 34 | int unadjust_for_sel_inner(pos_T *pp); |
Bram Moolenaar | 8d3b510 | 2019-09-05 21:29:01 +0200 | [diff] [blame] | 35 | void set_cursor_for_append_to_line(void); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 36 | /* vim: set ft=c : */ |