[Vim-latex-cvs] vimfiles/ftplugin/latex-suite compiler.vim,1.21,1.22
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-03-04 22:58:20
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv4129 Modified Files: compiler.vim Log Message: Bug: When there are 2 vertically split windows, compiling causes window layout to get messed up. (Alan Schmitt) Cause: UpdatePreviewWindow() was taking focus from the preview window to the window _above_ it, not the window previously visited. This was sometimes causing focus to go to one of the edited tex files. Fix: Goto previous window, not window above. Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** compiler.vim 17 Jan 2003 18:41:44 -0000 1.21 --- compiler.vim 4 Mar 2003 22:58:13 -0000 1.22 *************** *** 346,350 **** if &previewwindow 6 wincmd _ ! wincmd k endif endfunction " }}} --- 346,350 ---- if &previewwindow 6 wincmd _ ! wincmd p endif endfunction " }}} |