Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv3951
Modified Files:
compiler.vim
Log Message:
More bug fixes from after last time. Hopefully, this is the stabilizing
version for this feature...
. Bug fix from last time, where for a warning, the log window would not be
positioned at all.
. make going to the column a little more consistent.
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** compiler.vim 27 Nov 2002 10:25:07 -0000 1.17
--- compiler.vim 2 Dec 2002 19:25:29 -0000 1.18
***************
*** 3,7 ****
" Author: Srinath Avadhanula
" Created: Tue Apr 23 05:00 PM 2002 PST
! " Last Change: Tue Nov 26 11:00 PM 2002 PST
"
" Description: functions for compiling/viewing/searching latex documents
--- 3,7 ----
" Author: Srinath Avadhanula
" Created: Tue Apr 23 05:00 PM 2002 PST
! " Last Change: Thu Nov 28 01:00 AM 2002 PST
"
" Description: functions for compiling/viewing/searching latex documents
***************
*** 272,276 ****
" if we are on an error, then count the number of lines before this in the
" quickfix window with an error on the same line.
! if errpat =~ 'error'
" our location in the quick fix window.
let errline = line('.')
--- 272,276 ----
" if we are on an error, then count the number of lines before this in the
" quickfix window with an error on the same line.
! if errpat =~ 'error|$'
" our location in the quick fix window.
let errline = line('.')
***************
*** 299,302 ****
--- 299,304 ----
endif
endwhile
+ else
+ let numrep = 1
endif
***************
*** 321,330 ****
" us to the preview window.
wincmd j
! if searchpat =~ 'l.\d\+' && numrep > 1
! while numrep > 0
! call search(searchpat, 'W')
! let numrep = numrep - 1
! endwhile
! endif
normal! z.
--- 323,332 ----
" us to the preview window.
wincmd j
! " now search forward from this position in the preview window for the
! " numrep^th error of the current line in the quickfix window.
! while numrep > 0
! call search(searchpat, 'W')
! let numrep = numrep - 1
! endwhile
normal! z.
***************
*** 385,389 ****
let normcmd = "0/\\V".escape(partline, "\\")."/e+1\<CR>"
else
! let column = strlen(brokenline)
let normcmd = column.'|'
endif
--- 387,391 ----
let normcmd = "0/\\V".escape(partline, "\\")."/e+1\<CR>"
else
! let column = strlen(brokenline) + 1
let normcmd = column.'|'
endif
|