Searched refs:curswant (Results 1 – 13 of 13) sorted by relevance
| /vim-8.2.3635/src/testdir/ |
| H A D | test_curswant.vim | 1 " Tests for curswant not changing when setting an option 8 call assert_equal(7, winsaveview().curswant) 10 call assert_equal(4, winsaveview().curswant) 13 call assert_equal(7, winsaveview().curswant) 15 call assert_equal(7, winsaveview().curswant) 18 call assert_equal(7, winsaveview().curswant) 20 call assert_equal(7, winsaveview().curswant)
|
| H A D | test_cursor_func.vim | 59 " Tests for behavior of curswant with cursorcolumn/line 64 call assert_equal(6, winsaveview().curswant) 66 call assert_equal(6, winsaveview().curswant) 74 call assert_equal(6, winsaveview().curswant) 76 call assert_equal(6, winsaveview().curswant)
|
| H A D | test_goto.vim | 315 " Check that setting 'cursorline' does not change curswant
|
| H A D | test_options.vim | 1182 \ 'topline':3, 'coladd':0, 'skipcol':0, 'curswant':0}, 1189 \ 'topline':5, 'coladd':0, 'skipcol':0, 'curswant':0},
|
| H A D | test_search.vim | 254 …': 0, 'col': 4, 'topfill': 0, 'topline': 6, 'coladd': 0, 'skipcol': 0, 'curswant': 4}, winsaveview… 270 …': 0, 'col': 0, 'topfill': 0, 'topline': 1, 'coladd': 0, 'skipcol': 0, 'curswant': 0}, winsaveview…
|
| H A D | test_quickfix.vim | 4471 " Test that :cc sets curswant
|
| /vim-8.2.3635/src/ |
| H A D | regexp.c | 1279 colnr_T curswant; in reg_match_visual() local 1298 curswant = wp->w_curswant; in reg_match_visual() 1313 curswant = curbuf->b_visual.vi_curswant; in reg_match_visual() 1334 if (top.col == MAXCOL || bot.col == MAXCOL || curswant == MAXCOL) in reg_match_visual()
|
| H A D | evalfunc.c | 3042 colnr_T curswant = -1; in set_cursorpos() local 3044 if (list2fpos(argvars, &pos, NULL, &curswant, charcol) == FAIL) in set_cursorpos() 3052 if (curswant >= 0) in set_cursorpos() 3054 curwin->w_curswant = curswant - 1; in set_cursorpos() 8727 colnr_T curswant = -1; in set_position() local 8739 if (list2fpos(&argvars[1], &pos, &fnum, &curswant, charpos) == OK) in set_position() 8747 if (curswant >= 0) in set_position() 8749 curwin->w_curswant = curswant - 1; in set_position()
|
| H A D | move.c | 2876 colnr_T curswant = curwin->w_curswant; in do_check_cursorbind() local 2903 curwin->w_curswant = curswant; in do_check_cursorbind()
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | eval.txt | 4142 [{lnum}, {col}, {off}, {curswant}] 4158 If {curswant} is given it is used to set the preferred column 5719 includes an extra "curswant" item in the list: 5720 [0, lnum, col, off, curswant] ~ 5721 The "curswant" number is the preferred column when moving the 9999 [bufnum, lnum, col, off, curswant] 10020 The "curswant" number is only used when setting the cursor 10022 cursor vertically. When the "curswant" number is missing the 12151 :call winrestview({'curswant': 4}) 12153 This will only set the curswant value (the column the cursor [all …]
|
| H A D | version8.txt | 2318 Problem: getpos()/setpos() don't include curswant. 4392 Solution: Don't set curswant when redrawing the status lines. 6524 Solution: Set the curswant flag. (Christian Brabandt). Also fix 10181 Solution: Set curswant when appropriate. (Hirohito Higashi) 23248 Solution: Set the curswant flag. 27653 Solution: Set the curswant flag. (Andy Massimino, closes #3331) 27913 Solution: Attempt to force recomputing curswant after folding. 27918 Solution: Ignore curswant, don't see another solution. 31997 Problem: getcurpos() unexpectedly changes "curswant". 31998 Solution: Save and restore "curswant". (closes #4069) [all …]
|
| H A D | todo.txt | 3861 - change to cursor position and curswant 5299 Other solution: Always use curswant, so that you can move the cursor to
|
| H A D | version7.txt | 13153 Solution: Set curswant appropriately. (Gary Johnson) 15008 Problem: When 'indentexpr' moves the cursor "curswant" not restored. 15009 Solution: Restore "curswant". (Sung Pae)
|