Mercurial > vim
annotate src/proto/window.pro @ 7490:4a81ecde8701 v7.4.1047
commit https://github.com/vim/vim/commit/7f68203168aeb22fcf8a5a9680503fe16759ebd4
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 4 12:13:05 2016 +0100
patch 7.4.1047
Problem: Tests fail on MS-Windows.
Solution: Set 'selection' to inclusive.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 04 Jan 2016 12:15:04 +0100 |
parents | 743c258ca3ab |
children | 21b0a39d13ed |
rev | line source |
---|---|
7 | 1 /* window.c */ |
1121 | 2 void do_window __ARGS((int nchar, long Prenum, int xchar)); |
6489 | 3 void get_wincmd_addr_type __ARGS((char_u *arg, exarg_T *eap)); |
1121 | 4 int win_split __ARGS((int size, int flags)); |
3365 | 5 int win_split_ins __ARGS((int size, int flags, win_T *new_wp, int dir)); |
1121 | 6 int win_valid __ARGS((win_T *win)); |
7 int win_count __ARGS((void)); | |
8 int make_windows __ARGS((int count, int vertical)); | |
9 void win_move_after __ARGS((win_T *win1, win_T *win2)); | |
10 void win_equal __ARGS((win_T *next_curwin, int current, int dir)); | |
11 void close_windows __ARGS((buf_T *buf, int keep_curwin)); | |
3365 | 12 int one_window __ARGS((void)); |
5302 | 13 int win_close __ARGS((win_T *win, int free_buf)); |
1121 | 14 void win_close_othertab __ARGS((win_T *win, int free_buf, tabpage_T *tp)); |
15 void win_free_all __ARGS((void)); | |
1906 | 16 win_T *winframe_remove __ARGS((win_T *win, int *dirp, tabpage_T *tp)); |
1121 | 17 void close_others __ARGS((int message, int forceit)); |
18 void curwin_init __ARGS((void)); | |
1918 | 19 void win_init_empty __ARGS((win_T *wp)); |
1121 | 20 int win_alloc_first __ARGS((void)); |
1906 | 21 void win_alloc_aucmd_win __ARGS((void)); |
1121 | 22 void win_init_size __ARGS((void)); |
23 void free_tabpage __ARGS((tabpage_T *tp)); | |
24 int win_new_tabpage __ARGS((int after)); | |
25 int may_open_tabpage __ARGS((void)); | |
26 int make_tabpages __ARGS((int maxcount)); | |
27 int valid_tabpage __ARGS((tabpage_T *tpc)); | |
28 tabpage_T *find_tabpage __ARGS((int n)); | |
29 int tabpage_index __ARGS((tabpage_T *ftp)); | |
30 void goto_tabpage __ARGS((int n)); | |
4354 | 31 void goto_tabpage_tp __ARGS((tabpage_T *tp, int trigger_enter_autocmds, int trigger_leave_autocmds)); |
1121 | 32 void goto_tabpage_win __ARGS((tabpage_T *tp, win_T *wp)); |
33 void tabpage_move __ARGS((int nr)); | |
34 void win_goto __ARGS((win_T *wp)); | |
35 win_T *win_find_nr __ARGS((int winnr)); | |
4429 | 36 tabpage_T *win_find_tabpage __ARGS((win_T *win)); |
1121 | 37 void win_enter __ARGS((win_T *wp, int undo_sync)); |
38 win_T *buf_jump_open_win __ARGS((buf_T *buf)); | |
39 win_T *buf_jump_open_tab __ARGS((buf_T *buf)); | |
1906 | 40 void win_append __ARGS((win_T *after, win_T *wp)); |
41 void win_remove __ARGS((win_T *wp, tabpage_T *tp)); | |
1121 | 42 int win_alloc_lines __ARGS((win_T *wp)); |
43 void win_free_lsize __ARGS((win_T *wp)); | |
44 void shell_new_rows __ARGS((void)); | |
45 void shell_new_columns __ARGS((void)); | |
46 void win_size_save __ARGS((garray_T *gap)); | |
47 void win_size_restore __ARGS((garray_T *gap)); | |
48 int win_comp_pos __ARGS((void)); | |
49 void win_setheight __ARGS((int height)); | |
50 void win_setheight_win __ARGS((int height, win_T *win)); | |
51 void win_setwidth __ARGS((int width)); | |
52 void win_setwidth_win __ARGS((int width, win_T *wp)); | |
53 void win_setminheight __ARGS((void)); | |
54 void win_drag_status_line __ARGS((win_T *dragwin, int offset)); | |
55 void win_drag_vsep_line __ARGS((win_T *dragwin, int offset)); | |
7311
743c258ca3ab
commit https://github.com/vim/vim/commit/9dc2ce398bb3456cc8f590ef0260459798b34d2a
Christian Brabandt <cb@256bit.org>
parents:
6947
diff
changeset
|
56 void set_fraction __ARGS((win_T *wp)); |
3697 | 57 void win_new_height __ARGS((win_T *wp, int height)); |
58 void win_new_width __ARGS((win_T *wp, int width)); | |
1121 | 59 void win_comp_scroll __ARGS((win_T *wp)); |
60 void command_height __ARGS((void)); | |
61 void last_status __ARGS((int morewin)); | |
62 int tabline_height __ARGS((void)); | |
63 char_u *grab_file_name __ARGS((long count, linenr_T *file_lnum)); | |
64 char_u *file_name_at_cursor __ARGS((int options, long count, linenr_T *file_lnum)); | |
65 char_u *file_name_in_line __ARGS((char_u *line, int col, int options, long count, char_u *rel_fname, linenr_T *file_lnum)); | |
66 char_u *find_file_name_in_path __ARGS((char_u *ptr, int len, int options, long count, char_u *rel_fname)); | |
67 int path_with_url __ARGS((char_u *fname)); | |
68 int vim_isAbsName __ARGS((char_u *name)); | |
69 int vim_FullName __ARGS((char_u *fname, char_u *buf, int len, int force)); | |
70 int min_rows __ARGS((void)); | |
71 int only_one_window __ARGS((void)); | |
72 void check_lnums __ARGS((int do_curwin)); | |
1906 | 73 void make_snapshot __ARGS((int idx)); |
74 void restore_snapshot __ARGS((int idx, int close_curwin)); | |
4918
0792cc5133ce
updated for version 7.3.1204
Bram Moolenaar <bram@vim.org>
parents:
4429
diff
changeset
|
75 int switch_win __ARGS((win_T **save_curwin, tabpage_T **save_curtab, win_T *win, tabpage_T *tp, int no_display)); |
0792cc5133ce
updated for version 7.3.1204
Bram Moolenaar <bram@vim.org>
parents:
4429
diff
changeset
|
76 void restore_win __ARGS((win_T *save_curwin, tabpage_T *save_curtab, int no_display)); |
4429 | 77 void switch_buffer __ARGS((buf_T **save_curbuf, buf_T *buf)); |
78 void restore_buffer __ARGS((buf_T *save_curbuf)); | |
1121 | 79 int win_hasvertsplit __ARGS((void)); |
6947 | 80 int match_add __ARGS((win_T *wp, char_u *grp, char_u *pat, int prio, int id, list_T *pos_list, char_u *conceal_char)); |
1326 | 81 int match_delete __ARGS((win_T *wp, int id, int perr)); |
82 void clear_matches __ARGS((win_T *wp)); | |
83 matchitem_T *get_match __ARGS((win_T *wp, int id)); | |
4401 | 84 int get_win_number __ARGS((win_T *wp, win_T *first_win)); |
85 int get_tab_number __ARGS((tabpage_T *tp)); | |
7 | 86 /* vim: set ft=c : */ |