Home
last modified time | relevance | path

Searched refs:linenr_T (Results 1 – 25 of 203) sorted by relevance

123456789

/dports/editors/vim/vim-8.2.3745/src/proto/
H A Dfold.pro4 int hasFolding(linenr_T lnum, linenr_T *firstp, linenr_T *lastp);
5 int hasFoldingWin(win_T *win, linenr_T lnum, linenr_T *firstp, linenr_T *lastp, int cache, foldinfo…
15 void closeFoldRecurse(linenr_T lnum);
16 void opFoldRange(linenr_T first, linenr_T last, int opening, int recurse, int had_visual);
18 void openFoldRecurse(linenr_T lnum);
23 void foldCreate(linenr_T start, linenr_T end);
24 void deleteFold(linenr_T start, linenr_T end, int recursive, int had_visual);
26 void foldUpdate(win_T *wp, linenr_T top, linenr_T bot);
35 void foldMarkAdjust(win_T *wp, linenr_T line1, linenr_T line2, long amount, long amount_after);
37 char_u *get_foldtext(win_T *wp, linenr_T lnum, linenr_T lnume, foldinfo_T *foldinfo, char_u *buf);
[all …]
H A Dchange.pro8 void may_invoke_listeners(buf_T *buf, linenr_T lnum, linenr_T lnume, int added);
11 void changed_bytes(linenr_T lnum, colnr_T col);
12 void inserted_bytes(linenr_T lnum, colnr_T col, int added);
13 void appended_lines(linenr_T lnum, long count);
14 void appended_lines_mark(linenr_T lnum, long count);
15 void deleted_lines(linenr_T lnum, long count);
16 void deleted_lines_mark(linenr_T lnum, long count);
17 void changed_lines_buf(buf_T *buf, linenr_T lnum, linenr_T lnume, long xtra);
18 void changed_lines(linenr_T lnum, colnr_T col, linenr_T lnume, long xtra);
H A Ddiff.pro6 void diff_mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after);
16 int diff_check(win_T *wp, linenr_T lnum);
17 int diff_check_fill(win_T *wp, linenr_T lnum);
23 int diff_find_change(win_T *wp, linenr_T lnum, int *startp, int *endp);
24 int diff_infold(win_T *wp, linenr_T lnum);
29 linenr_T diff_get_corresponding_line(buf_T *buf1, linenr_T lnum1);
30 linenr_T diff_lnum_win(linenr_T lnum, win_T *wp);
H A Dmemline.pro18 char_u *ml_get(linenr_T lnum);
22 char_u *ml_get_buf(buf_T *buf, linenr_T lnum, int will_change);
24 int ml_append(linenr_T lnum, char_u *line, colnr_T len, int newfile);
25 int ml_append_flags(linenr_T lnum, char_u *line, colnr_T len, int flags);
26 int ml_append_buf(buf_T *buf, linenr_T lnum, char_u *line, colnr_T len, int newfile);
27 int ml_replace(linenr_T lnum, char_u *line, int copy);
29 int ml_delete(linenr_T lnum);
30 int ml_delete_flags(linenr_T lnum, int flags);
31 void ml_setmarked(linenr_T lnum);
32 linenr_T ml_firstmarked(void);
[all …]
H A Dundo.pro3 int u_save(linenr_T top, linenr_T bot);
4 int u_savesub(linenr_T lnum);
5 int u_inssub(linenr_T lnum);
6 int u_savedel(linenr_T lnum, long nlines);
8 int u_savecommon(linenr_T top, linenr_T bot, linenr_T newbot, int reload);
H A Dex_cmds.pro5 int do_move(linenr_T line1, linenr_T line2, linenr_T dest);
6 void ex_copy(linenr_T line1, linenr_T line2, linenr_T n);
13 void print_line_no_prefix(linenr_T lnum, int use_number, int list);
14 void print_line(linenr_T lnum, int use_number, int list);
23 int getfile(int fnum, char_u *ffname_arg, char_u *sfname_arg, int setpm, linenr_T lnum, int forceit…
24 int do_ecmd(int fnum, char_u *ffname, char_u *sfname, exarg_T *eap, linenr_T newlnum, int flags, wi…
H A Dsign.pro3 int buf_get_signattrs(win_T *wp, linenr_T lnum, sign_attrs_T *sattr);
4 linenr_T buf_delsign(buf_T *buf, linenr_T atlnum, int id, char_u *group);
6 int buf_findsign_id(buf_T *buf, linenr_T lnum, char_u *groupname);
7 int buf_findsigntype_id(buf_T *buf, linenr_T lnum, int typenr);
8 int buf_signcount(buf_T *buf, linenr_T lnum);
10 void sign_mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after);
14 int sign_place(int *sign_id, char_u *sign_group, char_u *sign_name, buf_T *buf, linenr_T lnum, int …
H A Dtextprop.pro5 void prop_add_common(linenr_T start_lnum, colnr_T start_col, dict_T *dict, buf_T *default_buf, typv…
6 int get_text_props(buf_T *buf, linenr_T lnum, char_u **props, int will_change);
7 int count_props(linenr_T lnum, int only_starting);
8 int find_visible_prop(win_T *wp, int type_id, int id, textprop_T *prop, linenr_T *found_lnum);
21 int adjust_prop_columns(linenr_T lnum, colnr_T col, int bytes_added, int flags);
22 void adjust_props_for_split(linenr_T lnum_props, linenr_T lnum_top, int kept, int deleted);
23 void prepend_joined_props(char_u *new_props, int propcount, int *props_remaining, linenr_T lnum, in…
H A Dmisc1.pro4 int plines(linenr_T lnum);
5 int plines_win(win_T *wp, linenr_T lnum, int winheight);
6 int plines_nofill(linenr_T lnum);
7 int plines_win_nofill(win_T *wp, linenr_T lnum, int winheight);
8 int plines_win_nofold(win_T *wp, linenr_T lnum);
9 int plines_win_col(win_T *wp, linenr_T lnum, long column);
10 int plines_m_win(win_T *wp, linenr_T first, linenr_T last);
H A Dnetbeans.pro18 void netbeans_inserted(buf_T *bufp, linenr_T linenr, colnr_T col, char_u *txt, int newlen);
19 void netbeans_removed(buf_T *bufp, linenr_T linenr, colnr_T col, long len);
25 int netbeans_is_guarded(linenr_T top, linenr_T bot);
27 void netbeans_gutter_click(linenr_T lnum);
H A Dmark.pro21 void mark_adjust(linenr_T line1, linenr_T line2, long amount, long amount_after);
22 void mark_adjust_nofold(linenr_T line1, linenr_T line2, long amount, long amount_after);
23 void mark_col_adjust(linenr_T lnum, colnr_T mincol, long lnum_amount, long col_amount, int spaces_r…
/dports/editors/vim/vim-8.2.3745/src/
H A Dfold.c61 static void foldCreateMarkers(linenr_T start, linenr_T end);
74 static linenr_T invalid_top = (linenr_T)0;
75 static linenr_T invalid_bot = (linenr_T)0;
130 hasFolding(linenr_T lnum, linenr_T *firstp, linenr_T *lastp) in hasFolding()
578 foldCreate(linenr_T start, linenr_T end) in foldCreate()
820 foldUpdate(win_T *wp, linenr_T top, linenr_T bot) in foldUpdate()
1761 foldCreateMarkers(linenr_T start, linenr_T end) in foldCreateMarkers()
2147 foldUpdateIEMS(win_T *wp, linenr_T top, linenr_T bot) in foldUpdateIEMS()
2550 (linenr_T)0, (linenr_T)MAXLNUM, in foldUpdateIEMSRecurse()
2639 (linenr_T)fp->fd_len, (linenr_T)MAXLNUM, in foldUpdateIEMSRecurse()
[all …]
H A Dstructs.h18 typedef long linenr_T; typedef
28 linenr_T lnum; // line number
39 linenr_T lnum; // line number
89 linenr_T sc_lnum; // line number
1996 linenr_T lastline; // last line of range
2393 linenr_T jo_in_top;
2394 linenr_T jo_in_bot;
2635 linenr_T b_sst_check_lnum;
3331 linenr_T lnum; // line number
3345 linenr_T toplnum; // top buffer line
[all …]
H A Dchange.c163 linenr_T lnum, in check_recorded_changes()
164 linenr_T lnume, in check_recorded_changes()
170 linenr_T prev_lnum; in check_recorded_changes()
197 linenr_T lnum, in may_record_change()
199 linenr_T lnume, in may_record_change()
350 may_invoke_listeners(buf_T *buf, linenr_T lnum, linenr_T lnume, int added) in may_invoke_listeners()
367 linenr_T end = 0; in invoke_listeners()
464 linenr_T lnum, in changed_common()
466 linenr_T lnume, in changed_common()
715 linenr_T wlnum; in changed_bytes()
[all …]
H A Dif_tcl.c668 if (u_savesub((linenr_T)val1) != OK) in bufselfcmd()
713 if (u_save((linenr_T)(val1 - 1), (linenr_T)(val2 + 1)) != OK) in bufselfcmd()
735 if (ml_append((linenr_T)(n - 1), in bufselfcmd()
748 if (ml_delete((linenr_T)i) != OK) in bufselfcmd()
754 mark_adjust((linenr_T)val1, (linenr_T)val2, (long)MAXLNUM, in bufselfcmd()
756 changed_lines((linenr_T)val1, 0, (linenr_T)val2 + 1, (long)lc); in bufselfcmd()
796 ml_delete((linenr_T)val1); in bufselfcmd()
857 if (u_save((linenr_T)val1, (linenr_T)(val1+1)) != OK) in bufselfcmd()
1963 linenr_T first_line = 0; in ex_tcldo()
1964 linenr_T last_line = 0; in ex_tcldo()
[all …]
H A Ddebugger.c411 static linenr_T debug_breakpoint_lnum;
531 static linenr_T debuggy_find(int file,char_u *fname, linenr_T after, garray_T *gap, int *fp);
764 linenr_T best_lnum = 0; in ex_breakdel()
883 linenr_T
887 linenr_T after) // after this line number in dbg_find_breakpoint()
903 != (linenr_T)0); in has_profiling()
910 static linenr_T
914 linenr_T after, // after this line number in debuggy_find()
920 linenr_T lnum = 0; in debuggy_find()
927 return (linenr_T)0; in debuggy_find()
[all …]
/dports/editors/neovim/neovim-0.6.1/src/nvim/
H A Dfold.c100 static linenr_T invalid_top = (linenr_T)0;
101 static linenr_T invalid_bot = (linenr_T)0;
150 bool hasFolding(linenr_T lnum, linenr_T *firstp, linenr_T *lastp) in hasFolding()
169 linenr_T last = 0; in hasFoldingWin()
307 linenr_T last; in fold_info()
402 linenr_T lnum; in opFoldRange()
809 void foldUpdate(win_T *wp, linenr_T top, linenr_T bot) in foldUpdate()
881 linenr_T lnum; in foldMoveTo()
1444 linenr_T last; in foldMarkAdjustRecurse()
1445 linenr_T top; in foldMarkAdjustRecurse()
[all …]
H A Dmemline_defs.h13 linenr_T ip_low; // lowest lnum in this block
14 linenr_T ip_high; // highest lnum in this block
44 linenr_T ml_line_count; // number of lines in the buffer
58 linenr_T ml_line_lnum; // line number of cached line, 0 if not valid
64 linenr_T ml_locked_low; // first line in ml_locked
65 linenr_T ml_locked_high; // last line in ml_locked
H A Dbuffer_defs.h466 linenr_T b_sst_check_lnum;
573 linenr_T b_mod_top; // topmost lnum that was changed
649 linenr_T b_u_line_lnum; // line number of line in u_line
917 linenr_T df_lnum[DB_COUNT]; // line number in buffer
1008 linenr_T lnum; // the line to search for a match
1011 linenr_T first_lnum; // first lnum to search for multi-line pat
1023 linenr_T lnum; ///< line number
1034 linenr_T toplnum; ///< top buffer line
1035 linenr_T botlnum; ///< bottom buffer line
1365 linenr_T w_ru_topline; // topline shown in ruler
[all …]
H A Dplines.c41 int plines_win(win_T *wp, linenr_T lnum, bool winheight) in plines_win()
55 int win_get_fill(win_T *wp, linenr_T lnum) in win_get_fill()
76 int plines_win_nofill(win_T *wp, linenr_T lnum, bool winheight) in plines_win_nofill()
100 int plines_win_nofold(win_T *wp, linenr_T lnum) in plines_win_nofold()
134 int plines_win_col(win_T *wp, linenr_T lnum, long column) in plines_win_col()
190 int plines_win_full(win_T *wp, linenr_T lnum, linenr_T *const nextp, bool *const foldedp, in plines_win_full()
205 int plines_m_win(win_T *wp, linenr_T first, linenr_T last) in plines_m_win()
210 linenr_T next = first; in plines_m_win()
H A Dex_cmds.h23 #define ECMD_LASTL (linenr_T)0 // use last position in loaded file
24 #define ECMD_LAST (linenr_T)-1 // use last position in all files
25 #define ECMD_ONE (linenr_T)1 // use first line
H A Dpos.h7 typedef long linenr_T; // line number type typedef
29 linenr_T lnum; // line number
39 linenr_T lnum; // line number
/dports/editors/neovim/neovim-0.6.1/src/nvim/api/
H A Dbuffer.c255 redraw_buf_range_later(buf, (linenr_T)first+1, (linenr_T)last); in nvim__buf_redraw_range()
426 if (u_save((linenr_T)(start - 1), (linenr_T)end) == FAIL) { in nvim_buf_set_lines()
498 mark_adjust((linenr_T)start, in nvim_buf_set_lines()
499 (linenr_T)(end - 1), in nvim_buf_set_lines()
508 changed_lines((linenr_T)start, 0, (linenr_T)end, (long)extra, true); in nvim_buf_set_lines()
509 fix_cursor((linenr_T)start, (linenr_T)end, (linenr_T)extra); in nvim_buf_set_lines()
667 if (u_save((linenr_T)start_row - 1, (linenr_T)end_row + 1) == FAIL) { in nvim_buf_set_text()
734 (linenr_T)end_row, in nvim_buf_set_text()
747 changed_lines((linenr_T)start_row, 0, (linenr_T)end_row + 1, in nvim_buf_set_text()
754 fix_cursor((linenr_T)start_row, (linenr_T)end_row, (linenr_T)extra); in nvim_buf_set_text()
[all …]
/dports/devel/clewn/clewn-1.14/
H A Dclewn.h91 typedef long linenr_T; /* line number type */ typedef
199 int cnb_editFile __ARGS((char *, linenr_T, char *, char *, char *, int, struct obstack *));
201 void cnb_buf_addsign __ARGS((int, int, int, linenr_T, struct obstack *));
219 linenr_T find_fr_sign __ARGS((int));
222 linenr_T searchfor __ARGS((char *, char *));
H A Dgdb.h76 linenr_T lnum; /* breakpoint line number */
323 linenr_T lnum; /* highlited line number */
462 linenr_T frame_lnum;/* current frame line number */
470 linenr_T lastline; /* lastline being disassembled */
472 linenr_T lnum; /* frame sign line number */
560 void gdb_fr_lite __ARGS((gdb_T *, buf_T *, linenr_T, struct obstack *));
566 void gdb_fr_lite __ARGS((gdb_T *, int, linenr_T, struct obstack *));
571 int gdb_fr_set __ARGS((gdb_T *, char_u *, linenr_T *, struct obstack *));
579 win_T * gdb_edit_file __ARGS((gdb_T *, buf_T *, char_u *, linenr_T, struct obstack *));
580 void gdb_set_cursor __ARGS((win_T *, linenr_T));
[all …]

123456789