Lines Matching refs:title
819 let title = ':setqflist()'
821 let title = ':setloclist()'
823 call assert_equal(title, w:quickfix_title)
827 " Tests for quickfix window's title
1031 "Xtestfile", line 21 col 9: What is the title of the quickfix window?
1032 "Xtestfile", line 22 col 9: What is the title of the quickfix window?
2242 " Set and get the title
2247 let s = g:Xsetlist([], 'a', {'title' : 'Sample'})
2249 let d = g:Xgetlist({"title":1})
2250 call assert_equal('Sample', d.title)
2251 " Try setting title to a non-string value
2252 call assert_equal(-1, g:Xsetlist([], 'a', {'title' : ['Test']}))
2253 call assert_equal('Sample', g:Xgetlist({"title":1}).title)
2262 call g:Xsetlist([], 'r', {'title' : 'N1'})
2263 call assert_equal('N1', g:Xgetlist({'all':1}).title)
2264 call g:Xsetlist([], ' ', {'title' : 'N2'})
2271 call g:Xsetlist([], ' ', {'title' : 'N3'})
2272 call assert_equal('N2', g:Xgetlist({'nr':2, 'title':1}).title)
2274 " Changing the title of an earlier quickfix list
2275 call g:Xsetlist([], 'r', {'title' : 'NewTitle', 'nr' : 2})
2276 call assert_equal('NewTitle', g:Xgetlist({'nr':2, 'title':1}).title)
2278 " Changing the title of an invalid quickfix list
2280 \ {'title' : 'SomeTitle', 'nr' : 99}))
2282 \ {'title' : 'SomeTitle', 'nr' : 'abc'}))
2297 call assert_equal('', g:Xgetlist({'nr':99, 'title':1}).title)
2298 call assert_equal('', g:Xgetlist({'nr':[], 'title':1}).title)
2301 call assert_equal({}, getloclist(99, {'title': 1}))
2383 let s = g:Xsetlist([], ' ', {'title':'Green',
2404 call g:Xsetlist([], 'r', {'title' : 'TestTitle'})
2407 call assert_equal('TestTitle', g:Xgetlist({'title' : 1}).title)
2455 call g:Xsetlist([], 'r', {'nr':1,'title':'Colors','context':['Colors']})
2456 call g:Xsetlist([], 'r', {'nr':2,'title':'Fruits','context':['Fruits']})
2466 call assert_equal('Fruits', newl1.title)
2469 call assert_equal('Colors', newl2.title)
3078 call assert_equal('', g:Xgetlist({'nr':'$', 'all':1}).title)
3092 call g:Xsetlist([], 'a', {'nr':'$', 'title':'Compiler'})
3093 call assert_equal('Compiler', g:Xgetlist({'nr':3, 'all':1}).title)
3441 call g:Xsetlist([], ' ', {'title' : 'Test1'})
3444 call assert_equal('Test1', l.title)
3448 call g:Xsetlist([], ' ', {'title' : 'Test2', 'nr' : '$'})
3451 call assert_equal('Test2', l.title)
3455 call g:Xsetlist([], 'a', {'title' : 'Test3'})
3458 call assert_equal('Test3', l.title)
3462 call g:Xsetlist([], 'a', {'title' : 'Test3', 'nr' : '$'})
3463 call g:Xsetlist([], 'a', {'title' : 'Test4'})
3466 call assert_equal('Test4', l.title)
3472 call g:Xsetlist([], ' ', {'title' : 'Test5'})
3475 call assert_equal('Test5', l.title)
3480 call g:Xsetlist([], ' ', {'nr' : '$', 'title' : 'Test6'})
3483 call assert_equal('Test6', l.title)
3489 call g:Xsetlist([], ' ', {'nr' : lastqf + 1, 'title' : 'Test7'})
3492 call assert_equal('Test7', l.title)
3497 call g:Xsetlist([], ' ', {'nr' : '$', 'title' : 'Test8'})
3500 call assert_equal('Test8', l.title)
3503 call assert_equal(-1, g:Xsetlist([], ' ', {'nr' : 12, 'title' : 'Test9'}))
3510 call assert_equal(-1, g:Xsetlist([], ' ', {'nr' : 8, 'title' : 'Test10'}))
3513 call assert_equal(-1, g:Xsetlist([], ' ', {'nr' : [1,2], 'title' : 'Test11'}))
3578 call assert_equal(-1, g:Xsetlist([], 'a', {'id':999, 'title':'Vim'}))
3579 call assert_equal(-1, g:Xsetlist([], 'a', {'id':'abc', 'title':'Vim'}))
3701 call assert_equal('', g:Xgetlist({'title' : 0}).title)
3707 \ 'title' : '', 'winid' : 0, 'changedtick': 0,
3711 \ 'items' : [], 'nr' : 0, 'size' : 0, 'title' : '',
3732 call assert_notequal('', g:Xgetlist({'title' : 0}).title)
3746 call assert_equal('', g:Xgetlist({'id' : qfid, 'title' : 0}).title)
3751 \ 'nr' : 0, 'size' : 0, 'title' : '', 'winid' : 0,
3756 \ 'nr' : 0, 'size' : 0, 'title' : '', 'winid' : 0,
3769 call assert_equal('', g:Xgetlist({'nr' : 5, 'title' : 0}).title)
3774 \ 'nr' : 0, 'size' : 0, 'title' : '', 'winid' : 0,
3779 \ 'nr' : 0, 'size' : 0, 'title' : '', 'winid' : 0,
3814 call g:Xsetlist([], 'a', {'title' : 'New Title'})
4158 " Quickfix title tests
4160 " Otherwise due to indentation, the title is set with spaces at the beginning
4167 call assert_equal(":cexpr readfile('Xerr')", getqflist({'title' : 1}).title)
4172 \ getqflist({'title' : 1}).title)
4178 \ getqflist({'title' : 1}).title)
4183 call assert_equal(':cbuffer (Xerr)', getqflist({'title' : 1}).title)
4188 call assert_equal(':cgetbuffer (Xerr)', getqflist({'title' : 1}).title)
4194 call assert_equal(':caddbuffer (Xerr)', getqflist({'title' : 1}).title)
4198 call assert_equal(':cfile Xerr', getqflist({'title' : 1}).title)
4202 call assert_equal(':cgetfile Xerr', getqflist({'title' : 1}).title)
4207 call assert_equal(':caddfile Xerr', getqflist({'title' : 1}).title)
4212 call assert_equal(':grep F1 Xerr', getqflist({'title' : 1}).title)
4217 call assert_equal(':grepadd F1 Xerr', getqflist({'title' : 1}).title)
4222 call assert_equal(':vimgrep F1 Xerr', getqflist({'title' : 1}).title)
4227 call assert_equal(':vimgrepadd F1 Xerr', getqflist({'title' : 1}).title)
4230 call assert_equal(':setqflist()', getqflist({'title' : 1}).title)
4234 call assert_equal(':setqflist()', getqflist({'title' : 1}).title)
4238 call assert_equal(':setqflist()', getqflist({'title' : 1}).title)
4243 call setqflist([], ' ', {'title' : 'Errors'})
4251 " quickfix window title and statusline in all the other tab pages also
4255 call setqflist([], 'a', {'title': 'first quickfix list'})
4257 call setqflist([], 'a', {'title': 'second quickfix list'})
4269 call setqflist([], 'a', {'title': 'new quickfix title'})
4270 call assert_equal('new quickfix title', gettabwinvar(1, 2, 'quickfix_title'))
4271 call assert_equal('new quickfix title', gettabwinvar(2, 2, 'quickfix_title'))