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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* window.c */
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
2 void do_window __ARGS((int nchar, long Prenum, int xchar));
6489
cba15023c403 updated for version 7.4.572
Bram Moolenaar <bram@vim.org>
parents: 6456
diff changeset
3 void get_wincmd_addr_type __ARGS((char_u *arg, exarg_T *eap));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
4 int win_split __ARGS((int size, int flags));
3365
9ccdc4a69d8f updated for version 7.3.449
Bram Moolenaar <bram@vim.org>
parents: 1918
diff changeset
5 int win_split_ins __ARGS((int size, int flags, win_T *new_wp, int dir));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
6 int win_valid __ARGS((win_T *win));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
7 int win_count __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
8 int make_windows __ARGS((int count, int vertical));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
9 void win_move_after __ARGS((win_T *win1, win_T *win2));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
10 void win_equal __ARGS((win_T *next_curwin, int current, int dir));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
11 void close_windows __ARGS((buf_T *buf, int keep_curwin));
3365
9ccdc4a69d8f updated for version 7.3.449
Bram Moolenaar <bram@vim.org>
parents: 1918
diff changeset
12 int one_window __ARGS((void));
5302
f6247eaf4e1d updated for version 7.4.004
Bram Moolenaar <bram@vim.org>
parents: 4918
diff changeset
13 int win_close __ARGS((win_T *win, int free_buf));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
14 void win_close_othertab __ARGS((win_T *win, int free_buf, tabpage_T *tp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
15 void win_free_all __ARGS((void));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
16 win_T *winframe_remove __ARGS((win_T *win, int *dirp, tabpage_T *tp));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
17 void close_others __ARGS((int message, int forceit));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
18 void curwin_init __ARGS((void));
1918
eac2556d4620 updated for version 7.2-215
vimboss
parents: 1906
diff changeset
19 void win_init_empty __ARGS((win_T *wp));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
20 int win_alloc_first __ARGS((void));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
21 void win_alloc_aucmd_win __ARGS((void));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
22 void win_init_size __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
23 void free_tabpage __ARGS((tabpage_T *tp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
24 int win_new_tabpage __ARGS((int after));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
25 int may_open_tabpage __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
26 int make_tabpages __ARGS((int maxcount));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
27 int valid_tabpage __ARGS((tabpage_T *tpc));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
28 tabpage_T *find_tabpage __ARGS((int n));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
29 int tabpage_index __ARGS((tabpage_T *ftp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
30 void goto_tabpage __ARGS((int n));
4354
c80838526eeb updated for version 7.3.926
Bram Moolenaar <bram@vim.org>
parents: 3697
diff changeset
31 void goto_tabpage_tp __ARGS((tabpage_T *tp, int trigger_enter_autocmds, int trigger_leave_autocmds));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
32 void goto_tabpage_win __ARGS((tabpage_T *tp, win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
33 void tabpage_move __ARGS((int nr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
34 void win_goto __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
35 win_T *win_find_nr __ARGS((int winnr));
4429
7eafa576528e updated for version 7.3.963
Bram Moolenaar <bram@vim.org>
parents: 4401
diff changeset
36 tabpage_T *win_find_tabpage __ARGS((win_T *win));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
37 void win_enter __ARGS((win_T *wp, int undo_sync));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
38 win_T *buf_jump_open_win __ARGS((buf_T *buf));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
39 win_T *buf_jump_open_tab __ARGS((buf_T *buf));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
40 void win_append __ARGS((win_T *after, win_T *wp));
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
41 void win_remove __ARGS((win_T *wp, tabpage_T *tp));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
42 int win_alloc_lines __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
43 void win_free_lsize __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
44 void shell_new_rows __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
45 void shell_new_columns __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
46 void win_size_save __ARGS((garray_T *gap));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
47 void win_size_restore __ARGS((garray_T *gap));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
48 int win_comp_pos __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
49 void win_setheight __ARGS((int height));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
50 void win_setheight_win __ARGS((int height, win_T *win));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
51 void win_setwidth __ARGS((int width));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
52 void win_setwidth_win __ARGS((int width, win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
53 void win_setminheight __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
54 void win_drag_status_line __ARGS((win_T *dragwin, int offset));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
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
d47e6222d1cd updated for version 7.3.608
Bram Moolenaar <bram@vim.org>
parents: 3582
diff changeset
57 void win_new_height __ARGS((win_T *wp, int height));
d47e6222d1cd updated for version 7.3.608
Bram Moolenaar <bram@vim.org>
parents: 3582
diff changeset
58 void win_new_width __ARGS((win_T *wp, int width));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
59 void win_comp_scroll __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
60 void command_height __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
61 void last_status __ARGS((int morewin));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
62 int tabline_height __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
63 char_u *grab_file_name __ARGS((long count, linenr_T *file_lnum));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
64 char_u *file_name_at_cursor __ARGS((int options, long count, linenr_T *file_lnum));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
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));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
66 char_u *find_file_name_in_path __ARGS((char_u *ptr, int len, int options, long count, char_u *rel_fname));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
67 int path_with_url __ARGS((char_u *fname));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
68 int vim_isAbsName __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
69 int vim_FullName __ARGS((char_u *fname, char_u *buf, int len, int force));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
70 int min_rows __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
71 int only_one_window __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
72 void check_lnums __ARGS((int do_curwin));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
73 void make_snapshot __ARGS((int idx));
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
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
7eafa576528e updated for version 7.3.963
Bram Moolenaar <bram@vim.org>
parents: 4401
diff changeset
77 void switch_buffer __ARGS((buf_T **save_curbuf, buf_T *buf));
7eafa576528e updated for version 7.3.963
Bram Moolenaar <bram@vim.org>
parents: 4401
diff changeset
78 void restore_buffer __ARGS((buf_T *save_curbuf));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
79 int win_hasvertsplit __ARGS((void));
6947
1efa7c2b9368 patch 7.4.792
Bram Moolenaar <bram@vim.org>
parents: 6489
diff changeset
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
22886f3d882d updated for version 7.1-040
vimboss
parents: 1121
diff changeset
81 int match_delete __ARGS((win_T *wp, int id, int perr));
22886f3d882d updated for version 7.1-040
vimboss
parents: 1121
diff changeset
82 void clear_matches __ARGS((win_T *wp));
22886f3d882d updated for version 7.1-040
vimboss
parents: 1121
diff changeset
83 matchitem_T *get_match __ARGS((win_T *wp, int id));
4401
cfd76908da25 updated for version 7.3.949
Bram Moolenaar <bram@vim.org>
parents: 4379
diff changeset
84 int get_win_number __ARGS((win_T *wp, win_T *first_win));
cfd76908da25 updated for version 7.3.949
Bram Moolenaar <bram@vim.org>
parents: 4379
diff changeset
85 int get_tab_number __ARGS((tabpage_T *tp));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 /* vim: set ft=c : */