annotate src/testdir/test_qf_title.in @ 8537:cc20abebafa3

Added tag v7.4.1558 for changeset 09041d2fd7d0a3d86830dbdc3ab643a08340ca20
author Christian Brabandt <cb@256bit.org>
date Sun, 13 Mar 2016 19:15:05 +0100
parents 75ae211df37d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6079
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Tests for quickfix window's title vim: set ft=vim :
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :so small.vim
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :if !has('quickfix') | e! test.ok | wq! test.out | endif
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 :set efm=%E%f:%l:%c:%m
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :cgetexpr ['file:1:1:message']
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :let qflist=getqflist()
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :call setqflist(qflist, 'r')
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :copen
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 :let g:quickfix_title=w:quickfix_title
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 :wincmd p
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :$put =g:quickfix_title
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :/^Results/,$w test.out
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 :qa!
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 ENDTEST
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17
75ae211df37d updated for version 7.4.378
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 Results of test_qf_title: