Home
last modified time | relevance | path

Searched refs:rows (Results 1 – 25 of 129) sorted by relevance

123456

/vim-8.2.3635/src/libvterm/src/
H A Dstate.c70 state->rows = vt->rows; in vterm_state_new()
115 int rows; in scroll() local
121 if(downward > rows) in scroll()
122 downward = rows; in scroll()
123 else if(downward < -rows) in scroll()
124 downward = -rows; in scroll()
1801 if(rows != state->rows) { in on_resize()
1812 for(row = 0; row < state->rows && row < rows; row++) { in on_resize()
1828 state->rows = rows; in on_resize()
1850 if(state->pos.row >= rows) in on_resize()
[all …]
H A Dvterm.c35 VTerm *vterm_new(int rows, int cols) in vterm_new() argument
37 return vterm_new_with_allocator(rows, cols, &default_allocator, NULL); in vterm_new()
40 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata) in vterm_new_with_allocator() argument
50 vt->rows = rows; in vterm_new_with_allocator()
112 *rowsp = vt->rows; in vterm_get_size()
117 void vterm_set_size(VTerm *vt, int rows, int cols) in vterm_set_size() argument
119 vt->rows = rows; in vterm_set_size()
123 (*vt->parser.callbacks->resize)(rows, cols, vt->parser.cbdata); in vterm_set_size()
H A Dscreen.c55 int rows; member
79 if(row < 0 || row >= screen->rows) in getcell()
94 for(row = 0; row < rows; row++) { in alloc_buffer()
163 rect.end_row = screen->rows; in damagescreen()
501 int old_rows = screen->rows; in resize_buffer()
625 screen->rows = new_rows; in resize()
703 int rows, cols; in screen_new() local
711 vterm_get_size(vt, &rows, &cols); in screen_new()
720 screen->rows = rows; in screen_new()
907 int rows, cols; in vterm_screen_enable_altscreen() local
[all …]
H A Dvterm_internal.h71 int rows; member
81 …ON_BOTTOM(state) ((state)->scrollregion_bottom > -1 ? (state)->scrollregion_bottom : (state)->rows)
165 int rows; member
/vim-8.2.3635/src/testdir/
H A Dterm_util.vim53 " "rows" - height of the terminal window (max. 20)
81 let rows = get(a:options, 'rows', 20)
95 let options.term_rows = rows
106 if term_getsize(buf) != [rows, cols]
107 call term_setsize(buf, rows, cols)
109 call assert_equal([rows, cols], term_getsize(buf))
111 let rows = term_getsize(buf)[0]
123 …call WaitFor({-> len(term_getline(buf, rows)) >= cols - 1 || len(term_getline(buf, rows - statusof…
125 let lines = map(range(1, rows), {key, val -> term_getline(buf, val)})
H A Dtest_messages.vim112 let rows = 10
113 let buf = term_start([GetVimProg(), '--clean', '-S', testfile], {'term_rows': rows})
118 call WaitForAssert({-> assert_match('^-- INSERT --\s*$', term_getline(buf, rows))})
120 call WaitForAssert({-> assert_match('^\s*$', term_getline(buf, rows))})
140 let rows = 10
142 call WaitForAssert({-> assert_match('0,0-1\s*All$', term_getline(buf, rows - 1))})
146 call WaitForAssert({-> assert_match('^-- INSERT --\s*$', term_getline(buf, rows))})
148 call WaitForAssert({-> assert_match('^\s*$', term_getline(buf, rows))})
176 let buf = RunVimInTerminal('', {'rows': 6})
278 let buf = RunVimInTerminal('', {'rows': 6})
[all …]
H A Dtest_popupwin.vim23 let buf = RunVimInTerminal('-S XtestPopup', #{rows: 10})
124 let buf = RunVimInTerminal('-S XtestPopupBorder', #{rows: 12})
225 let buf = RunVimInTerminal('-S XtestPopup', #{rows: 10})
249 let buf = RunVimInTerminal('-S XtestPopup', #{rows: 10})
579 let buf = RunVimInTerminal('-S XtestPopupDrag', #{rows: 10})
610 terminal ++rows=4
633 let buf = RunVimInTerminal('-S XtestPopupTerm', #{rows: 16})
743 let buf = RunVimInTerminal('-S XtestPopupWrap', #{rows: 10})
798 let buf = RunVimInTerminal('-S XtestPopupMask', #{rows: 13})
1062 let buf = RunVimInTerminal('-S XtestPopup', #{rows: 10})
[all …]
H A Dtest_display.vim82 let buf = RunVimInTerminal('-S Xtestscroll', #{rows: 10})
176 let buf = RunVimInTerminal('-S '.filename, #{rows: 5, cols: 50})
192 let buf = RunVimInTerminal('-N -u NONE ' .. longName, #{rows: 8})
213 let buf = RunVimInTerminal('-S '.filename, #{rows: 9, cols: 50})
239 let buf = RunVimInTerminal('-S '.filename, #{rows: 7})
255 call VerifyScreenDump(buf, 'Test_display_scroll_at_topline', #{rows: 4})
H A Dtest_popupwin_textprop.vim32 let buf = RunVimInTerminal('-S XtestTextpropPopup', #{rows: 10})
95 let buf = RunVimInTerminal('-S XtestTextpropPopupCorners', #{rows: 12})
163 let buf = RunVimInTerminal('-S XtestTextpropPopupOffset', #{rows: 12})
H A Dtest_balloon.vim34 let buf = RunVimInTerminal('-S XTest_beval', {'rows': 10, 'cols': 50})
59 let buf = RunVimInTerminal('-S XTest_beval_visual', {'rows': 10, 'cols': 50})
H A Dtest_popup.vim674 let rows = h / 3
675 let buf = term_start([GetVimProg(), '--clean', '-c', 'set noswapfile'], {'term_rows': rows})
679 call WaitFor({-> execute("redraw") == "" && term_getline(buf, rows) =~ '\<' . rows . ',.*Bot'})
823 call VerifyScreenDump(buf, 'Test_popup_position_01', {'rows': 8})
829 call VerifyScreenDump(buf, 'Test_popup_position_02', {'rows': 8})
835 call VerifyScreenDump(buf, 'Test_popup_position_03', {'rows': 8})
844 call VerifyScreenDump(buf, 'Test_popup_position_04', {'rows': 10})
1168 call VerifyScreenDump(buf, 'Test_pum_rightleft_01', {'rows': 8})
1186 call VerifyScreenDump(buf, 'Test_pum_rightleft_02', {'rows': 7})
1210 call VerifyScreenDump(buf, 'Test_pum_scrollbar_01', {'rows': 7})
[all …]
H A Dtest_excmd.vim213 let buf = RunVimInTerminal('-S Xscript', {'rows': 20})
232 let buf = RunVimInTerminal('-S Xscript', {'rows': 20})
251 let buf = RunVimInTerminal('-S Xscript', {'rows': 20})
278 let buf = RunVimInTerminal('-S Xscript', {'rows': 20})
309 let buf = RunVimInTerminal('-S Xscript', {'rows': 20})
341 let buf = RunVimInTerminal('-S Xscript', {'rows': 20})
392 let buf = RunVimInTerminal('-S Xscript', {'rows': 20})
H A Dtest_terminal3.vim83 let buf = RunVimInTerminal('-S XtermStart', #{rows: 15})
147 let buf = RunVimInTerminal('-S XtermStart', #{rows: 15})
272 let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15})
337 let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15})
369 let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15})
877 let rows = term_getsize(buf)[0]
878 call WaitForAssert({-> assert_match('\[\d\+, \d\+\]', term_getline(buf, rows))})
879 let line = term_getline(buf, rows)
H A Dtest_search_stat.vim291 let buf = RunVimInTerminal('-S Xsearchstatusline', #{rows: 10})
314 let buf = RunVimInTerminal('-S Xsearchstat1', #{rows: 10})
345 let buf = RunVimInTerminal('-S Xsearchstat', #{rows: 10})
368 let buf = RunVimInTerminal('-S Xsearchstatgd', #{rows: 10})
H A Dtest_winbar.vim136 let buf = RunVimInTerminal('-S XtestWinbarNotVisble', #{rows: 10})
156 let buf = RunVimInTerminal('-S XtestWinbarNotVisble', #{rows: 10})
H A Dtest_terminal.vim359 let rows = term_getsize(buf)[0]
361 …call WaitForAssert({-> assert_match( '149', term_getline(buf, rows - 1) . term_getline(buf, rows -…
430 exe 'terminal ++rows=5 ' . cmd
441 exe 'terminal ++rows=5 ++cols=33 ' . cmd
472 exe 'vertical terminal ++rows=6 ++cols=20 ' . cmd
1221 let buf = RunVimInTerminal('-S XtermExit', #{rows: 10})
1298 let buf = RunVimInTerminal('-S Xcombining', #{rows: 9})
1440 let buf = RunVimInTerminal('-S XtermDumpload', #{rows: 15})
1481 " Diff two terminal dump files with different number of rows
1690 let buf = RunVimInTerminal('-S Xscript', {'rows': 10})
[all …]
H A Dtest_signals.vim95 let buf = RunVimInTerminal('', {'rows': 6})
134 let buf = RunVimInTerminal('-S XsetupAucmd Xsig_TERM', {'rows': 6})
H A Dtest_search.vim899 let buf = RunVimInTerminal('-S Xscript', {'rows': 9, 'cols': 70})
928 let buf = RunVimInTerminal('-S Xis_search_script', {'rows': 9, 'cols': 70})
957 let buf = RunVimInTerminal('-S Xhlsearch_script', {'rows': 6, 'cols': 50})
978 let buf = RunVimInTerminal('-S Xhlvisual_script', {'rows': 6, 'cols': 40})
995 let buf = RunVimInTerminal('-S Xhlsearch_block', {'rows': 9, 'cols': 60})
1054 let buf = RunVimInTerminal('-S Xis_subst_script', {'rows': 9, 'cols': 70})
1184 let buf = RunVimInTerminal('-S Xis_change_script', {'rows': 9, 'cols': 70})
1207 let buf = RunVimInTerminal('-S Xis_sort_script', {'rows': 9, 'cols': 70})
1233 let buf = RunVimInTerminal('-S Xis_vimgrep_script', {'rows': 9, 'cols': 70})
1866 let buf = RunVimInTerminal('-S Xincsearch_nl', {'rows': 5, 'cols': 10})
[all …]
H A Dtest_termencoding.vim30 let buf = RunVimInTerminal('-S XTest_tenc_euc_jp', {'rows': 10})
H A Dtest_highlight.vim544 let buf = RunVimInTerminal('-S Xtest_cursorline_yank', {'rows': 8})
584 let buf = RunVimInTerminal('-S Xtest_cursorline_with_visualmode', {'rows': 12})
612 let buf = RunVimInTerminal('-S Xtest_wincolor', {'rows': 8})
638 let buf = RunVimInTerminal('-S Xtest_wincolorlcs', {'rows': 8})
663 let buf = RunVimInTerminal('-S Xtest_colorcolumn', {'rows': 10})
681 let buf = RunVimInTerminal('-S Xtest_colorcolumn_bri', {'rows': 10,'columns': 40})
699 let buf = RunVimInTerminal('-S Xtest_colorcolumn_srb', {'rows': 10,'columns': 40})
/vim-8.2.3635/src/libvterm/include/
H A Dvterm.h303 VTerm *vterm_new(int rows, int cols);
306 VTerm *vterm_new_with_allocator(int rows, int cols, VTermAllocatorFunctions *funcs, void *allocdata…
314 void vterm_set_size(VTerm *vt, int rows, int cols);
378 int (*resize)(int rows, int cols, void *user);
400 int (*resize)(int rows, int cols, VTermStateFields *fields, void *user);
499 int (*resize)(int rows, int cols, void *user);
/vim-8.2.3635/src/
H A Dterminal.c256 *rows = 0; in parse_termwinsize()
281 int rows, cols; in set_term_and_win_size() local
300 if (term->tl_rows < rows) in set_term_and_win_size()
301 term->tl_rows = rows; in set_term_and_win_size()
307 else if (rows != 0) in set_term_and_win_size()
308 term->tl_rows = rows; in set_term_and_win_size()
382 opt->jo_term_rows = rows; in setup_job_options()
3716 int rows, cols; in term_update_window() local
3765 newrows = rows == 0 ? newrows : minsize ? MAX(rows, newrows) : rows; in term_update_window()
5927 rows = rows <= 0 ? term->tl_rows : rows; in f_term_setsize()
[all …]
H A Dos_unix.c4063 long rows = 0; in mch_get_shellsize() local
4084 rows = ws.ws_row; in mch_get_shellsize()
4099 rows = ts.ts_lines; in mch_get_shellsize()
4113 rows = atoi((char *)p); in mch_get_shellsize()
4122 if (columns == 0 || rows == 0) in mch_get_shellsize()
4123 getlinecol(&columns, &rows); in mch_get_shellsize()
4132 Rows = rows; in mch_get_shellsize()
4155 ws.ws_row = rows; in mch_report_winsize()
4157 ws.ws_ypixel = rows * 10; in mch_report_winsize()
4165 ts.ts_lines = rows; in mch_report_winsize()
[all …]
H A Ddrawscreen.c2894 int rows; in redraw_asap() local
2910 rows = screen_Rows - cmdline_row; in redraw_asap()
2911 screenline = LALLOC_MULT(schar_T, rows * cols); in redraw_asap()
2912 screenattr = LALLOC_MULT(sattr_T, rows * cols); in redraw_asap()
2917 screenlineUC = LALLOC_MULT(u8char_T, rows * cols); in redraw_asap()
2922 screenlineC[i] = LALLOC_MULT(u8char_T, rows * cols); in redraw_asap()
2929 screenline2 = LALLOC_MULT(schar_T, rows * cols); in redraw_asap()
2937 for (r = 0; r < rows; ++r) in redraw_asap()
2969 for (r = 0; r < rows; ++r) in redraw_asap()
/vim-8.2.3635/src/proto/
H A Dclipboard.pro17 void clip_scroll_selection(int rows);

123456