annotate src/proto/window.pro @ 3002:7d4e5e31d8c1 v7.3.273

updated for version 7.3.273 Problem: A BOM in an error file is seen as text. (Aleksey Baibarin) Solution: Remove the BOM from the text before evaluating. (idea by Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 10 Aug 2011 13:21:46 +0200
parents eac2556d4620
children 9ccdc4a69d8f
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));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
3 int win_split __ARGS((int size, int flags));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
4 int win_split_ins __ARGS((int size, int flags, win_T *newwin, int dir));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
5 int win_valid __ARGS((win_T *win));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
6 int win_count __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
7 int make_windows __ARGS((int count, int vertical));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
8 void win_move_after __ARGS((win_T *win1, win_T *win2));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
9 void win_equal __ARGS((win_T *next_curwin, int current, int dir));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
10 void close_windows __ARGS((buf_T *buf, int keep_curwin));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
11 void win_close __ARGS((win_T *win, int free_buf));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
12 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
13 void win_free_all __ARGS((void));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
14 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
15 void close_others __ARGS((int message, int forceit));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
16 void curwin_init __ARGS((void));
1918
eac2556d4620 updated for version 7.2-215
vimboss
parents: 1906
diff changeset
17 void win_init_empty __ARGS((win_T *wp));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
18 int win_alloc_first __ARGS((void));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
19 void win_alloc_aucmd_win __ARGS((void));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
20 void win_init_size __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
21 void free_tabpage __ARGS((tabpage_T *tp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
22 int win_new_tabpage __ARGS((int after));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
23 int may_open_tabpage __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
24 int make_tabpages __ARGS((int maxcount));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
25 int valid_tabpage __ARGS((tabpage_T *tpc));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
26 tabpage_T *find_tabpage __ARGS((int n));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
27 int tabpage_index __ARGS((tabpage_T *ftp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
28 void goto_tabpage __ARGS((int n));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
29 void goto_tabpage_tp __ARGS((tabpage_T *tp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
30 void goto_tabpage_win __ARGS((tabpage_T *tp, win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
31 void tabpage_move __ARGS((int nr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
32 void win_goto __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
33 win_T *win_find_nr __ARGS((int winnr));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
34 void win_enter __ARGS((win_T *wp, int undo_sync));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
35 win_T *buf_jump_open_win __ARGS((buf_T *buf));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
36 win_T *buf_jump_open_tab __ARGS((buf_T *buf));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
37 void win_append __ARGS((win_T *after, win_T *wp));
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
38 void win_remove __ARGS((win_T *wp, tabpage_T *tp));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
39 int win_alloc_lines __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
40 void win_free_lsize __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
41 void shell_new_rows __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
42 void shell_new_columns __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
43 void win_size_save __ARGS((garray_T *gap));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
44 void win_size_restore __ARGS((garray_T *gap));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
45 int win_comp_pos __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
46 void win_setheight __ARGS((int height));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
47 void win_setheight_win __ARGS((int height, win_T *win));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
48 void win_setwidth __ARGS((int width));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
49 void win_setwidth_win __ARGS((int width, win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
50 void win_setminheight __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
51 void win_drag_status_line __ARGS((win_T *dragwin, int offset));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
52 void win_drag_vsep_line __ARGS((win_T *dragwin, int offset));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
53 void win_comp_scroll __ARGS((win_T *wp));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
54 void command_height __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
55 void last_status __ARGS((int morewin));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
56 int tabline_height __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
57 char_u *grab_file_name __ARGS((long count, linenr_T *file_lnum));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
58 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
59 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
60 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
61 int path_with_url __ARGS((char_u *fname));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
62 int vim_isAbsName __ARGS((char_u *name));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
63 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
64 int min_rows __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
65 int only_one_window __ARGS((void));
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
66 void check_lnums __ARGS((int do_curwin));
1906
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
67 void make_snapshot __ARGS((int idx));
ff9ecf14efe3 updated for version 7.2-203
vimboss
parents: 1326
diff changeset
68 void restore_snapshot __ARGS((int idx, int close_curwin));
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 856
diff changeset
69 int win_hasvertsplit __ARGS((void));
1326
22886f3d882d updated for version 7.1-040
vimboss
parents: 1121
diff changeset
70 int match_add __ARGS((win_T *wp, char_u *grp, char_u *pat, int prio, int id));
22886f3d882d updated for version 7.1-040
vimboss
parents: 1121
diff changeset
71 int match_delete __ARGS((win_T *wp, int id, int perr));
22886f3d882d updated for version 7.1-040
vimboss
parents: 1121
diff changeset
72 void clear_matches __ARGS((win_T *wp));
22886f3d882d updated for version 7.1-040
vimboss
parents: 1121
diff changeset
73 matchitem_T *get_match __ARGS((win_T *wp, int id));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 /* vim: set ft=c : */