Lines Matching refs:list
95 " With an empty list, command should return error
100 " Populate the list and then try
175 " For help entries in the quickfix list, only the filename without directory
191 " Note that this test assumes that a quickfix/location list is
197 " No location list for the current window
202 let list = [{'bufnr': bufnr('%'), 'lnum': 1}]
203 call g:Xsetlist(list)
205 " Jumping to a non existent list should return error
247 " Opening the location list window without any errors should fail
252 " Create a list with no valid entries
259 " Create a list with valid entries
273 " Create a list with no valid entries
490 " Jumping to first or next location list entry without any error should
546 " To process the range using quickfix list entries, directly use the
850 " A. incorrectly copying location lists which caused the location list to show
852 " B. not reusing the window for which the location list window is opened but
854 " C. make sure that the location list window is not reused instead of the
935 " Let's move the location list window to the top to check whether it (the
1565 " Appending entries to the list should not change the cursor position
1592 " Adding a non-valid entry should not mark the list as having valid entries
1597 " :cnext/:cprev should still work even with invalid entries in the list
1606 " empty list
1661 " make the middle list empty
1690 " make the first list empty, check the others didn't change
1824 " list
2043 " file should not update the quickfix list
2182 let common = 'errors :set' . (a:cchar == 'c' ? 'qf' : 'loc') . 'list()'
2183 call assert_equal(' error list 1 of 3; 1 ' . common, res[0])
2184 call assert_equal(' error list 2 of 3; 2 ' . common, res[1])
2185 call assert_equal('> error list 3 of 3; 3 ' . common, res[2])
2205 " An empty list should still show the stack history
2208 call assert_equal('> error list 1 of 1; 0 ' . common, res[0])
2233 " Quickfix/Location list set/get properties tests
2274 " Changing the title of an earlier quickfix list
2278 " Changing the title of an invalid quickfix list
2356 " Also, check for setting the context using quickfix list number zero.
2409 " Test for getting id of window associated with a location list window
2474 " Cannot specify both a non-empty list argument and a dict argument
2483 " Test for setting the current index in the location/quickfix list
2754 " Tests for jumping to entries from the location list window and quickfix
2763 " Location list for the new window should be set
2767 " Open a new window and create a location list
2768 " Open the location list window and close the other window
2783 " Open the location list window and close the previous window
2784 " Jump to an entry in the location list window
2785 " Should open the file in the first window and not set the location list.
2822 " Jumping to a file from the location list window should find a usable
2823 " window by wrapping around the window list.
2999 " Deleting the quickfix stack should work even When the current list is
3008 " After deleting the stack, adding a new list should create a stack with a
3009 " single list.
3014 " quickfix/location list window.
3026 " quickfix/location list window.
3039 " After deleting the location list stack, if the location list window is
3040 " opened, then a new location list should be created. So opening the
3041 " location list window again should not create a new window.
3058 " the quickfix list.
3304 " Tests for per quickfix/location list directory stack
3341 " Tests for per quickfix/location list file stack
3439 " Create a new list using ' ' for action
3446 " Create a new list using ' ' for action and '$' for 'nr'
3453 " Create a new list using 'a' for action
3460 " Create a new list using 'a' for action and '$' for 'nr'
3468 " Adding a quickfix list should remove all the lists following the current
3469 " list.
3477 " Add a quickfix list using '$' as the list number.
3485 " Add a quickfix list using 'nr' set to one more than the quickfix
3486 " list size.
3494 " Add a quickfix list to a stack with 10 lists using 'nr' set to '$'
3502 " Add a quickfix list using 'nr' set to a value greater than 10
3505 " Try adding a quickfix list with 'nr' set to a value greater than the
3506 " quickfix list size but less than 10.
3512 " Add a quickfix list using 'nr' set to a some string or list
3521 " Test for getting the quickfix list items from some text without modifying
3556 " Tests for the quickfix list id
3643 " When jumping to a location list entry in the location list window and
3660 " When jumping to an entry in the location list window and the window
3661 " associated with the location list is not present and a window containing
3688 " Tests for the getqflist() and getloclist() functions when the list is not
3724 " Empty quickfix list
3762 " Non-existing quickfix list number
3799 " Tests for the quickfix/location list changedtick
3841 " Test case for updating a non-current quickfix list
3872 " Open the location list window and close the regular window associated with
3873 " the location list. When the garbage collection runs now, it incorrectly
3874 " marks the location list context as not in use and frees the context.
3972 " Test for the position of the quickfix and location list window
4007 " When searching for a pattern using :vimgrep, if the quickfix list is
4009 " list.
4018 " When searching for a pattern using :vimgrep, if the quickfix list is
4027 " When searching for a pattern using :lvimgrep, if the location list is
4125 " quickfix window or when displaying the quickfix list
4129 " Create a quickfix list with a absolute path filename
4138 " Create a quickfix list with a absolute path filename
4141 " Displaying the quickfix list should simplify the file path
4250 " Switching to another quickfix list in one tab page should update the
4254 cgetexpr ['file_one:1:1: error in the first quickfix list']
4255 call setqflist([], 'a', {'title': 'first quickfix list'})
4256 cgetexpr ['file_two:2:1: error in the second quickfix list']
4257 call setqflist([], 'a', {'title': 'second quickfix list'})
4264 call assert_equal('first quickfix list', gettabwinvar(1, 2, 'quickfix_title'))
4265 call assert_equal('first quickfix list', gettabwinvar(2, 2, 'quickfix_title'))
4287 " Test for an autocmd freeing the quickfix/location list when cexpr/lexpr is
4307 " Test for commands that create a new quickfix/location list and jump to the
4345 " Test for a quickfix autocmd changing the quickfix/location list before
4346 " jumping to the first error in the new list.
4402 " Test for autocommands clearing the quickfix list before jumping to the
4457 " Test that "CTRL-W <CR>" in a qf/ll window fails with empty list.
4502 " When split opening files from location list window, make sure that two
4503 " windows doesn't refer to the same location list
4512 " When split opening files from a helpgrep location list window, a new help
4513 " window should be opened with a copy of the location list.
4631 " For a location list, when both the file window and the location list
4632 " window for the list are closed, then the buffer should be freed.
4640 " When the location list window is closed, the buffer name should not
4645 " After deleting a location list buffer using ":bdelete", opening the
4646 " location list window should mark the buffer as a location list buffer.
4655 " When the location list is cleared for the window, the buffer should be
4661 " When the location list is freed with the location list window open, the
4662 " location list buffer should not be lost. It should be reused when the
4663 " location list is again populated.
4676 " When the window with the location list is closed, the buffer should be
4689 " list window used to crash Vim.
4695 " Load the location list
4698 " Open the location list window. Only this window will be shown and the file
4702 " Jump to an entry in the location list and make sure that the cursor is
4733 " No quickfix/location list
4739 " Empty quickfix/location list
4819 " If a buffer has location list entries from some other window but not
5086 " Test for getting a specific item from a quickfix list
5089 " Empty list
5158 " Test for per list 'quickfixtextfunc' setting
5183 " Add entries to the list when the quickfix buffer is hidden
5216 " set option to a function that returns a list with non-strings
5241 " use a lambda function that returns an empty list
5250 " use a lambda function that returns a list with empty strings
5259 " set the per-quickfix list text function to a lambda function
5278 " Test for updating a location list for some other window and check that
5279 " 'qftextfunc' uses the correct location list.
5284 " create a window and a location list for it and open the location list
5297 " create another window and a location list for it and open the location
5298 " list window
5314 " change the location list for some other window
5460 " Test for updating the quickfix buffer whenever the associated quickfix list
5483 " add a new list
5501 " add a new list
5607 " Test for win_gettype() in quickfix and location list windows