0
0
mirror of https://github.com/vim/vim.git synced 2025-10-29 09:37:35 -04:00

updated for version 7.3.280

Problem:    ":lmake" does not update the quickfix window title.
Solution:   Update the title. (Lech Lorens)
This commit is contained in:
Bram Moolenaar
2011-08-10 18:36:54 +02:00
parent 12bc1b5c9f
commit c95e32635c
4 changed files with 42 additions and 6 deletions

View File

@@ -5,9 +5,16 @@ STARTTEST
:" Also test a BOM is ignored.
:so mbyte.vim
:set encoding=utf-8
:/start of errorfile/,/end of errorfile/w! Xerrorfile
:7/start of errorfile/,/end of errorfile/w! Xerrorfile1
:7/start of errorfile/,/end of errorfile/-1w! Xerrorfile2
:/start of testfile/,/end of testfile/w! Xtestfile
:cf Xerrorfile
:cf Xerrorfile2
:clast
:copen
:let a=w:quickfix_title
:wincmd p
gR=a

:cf Xerrorfile1
rA
:cn
@@ -17,6 +24,11 @@ rC
:cn
rD
:cn
rE
:cn
:wincmd w
:let a=w:quickfix_title
:wincmd p
gR=a

:w! test.out " Write contents of this file
@@ -33,6 +45,8 @@ in file "Xtestfile" linenr 16: there is an error
2 returned
"Xtestfile", linenr 19: yet another problem
Does anyone know what is the problem and how to correction it?
"Xtestfile", line 21 col 9: What is the title of the quickfix window?
"Xtestfile", line 22 col 9: What is the title of the quickfix window?
end of errorfile

View File

@@ -18,6 +18,6 @@ line 17 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 18 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Eine 19 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 20 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 21 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 22 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
line 21 :cf Xerrorfile1xxxxxxxxxxxxxxx
line 22 :cf Xerrorfile2xxxxxxxxxxxxxxx
end of testfile