From: <sri...@us...> - 2005-12-22 21:27:28
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25231 Modified Files: main.vim texviewer.vim Log Message: New: A setting Tex_ProjectSourceFiles which if set is used as a list of all the latex source files for the project. If set, we will never try to use logic to find the list of files included in the project, but simply use this setting. This significantly reduces the time required to build up the completion list for \ref completion for large projects. Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** main.vim 8 Dec 2005 22:51:29 -0000 1.84 --- main.vim 22 Dec 2005 21:27:20 -0000 1.85 *************** *** 455,458 **** --- 455,459 ---- " " Description: function! Tex_ChooseFromPrompt(dialog, list, sep) + let g:Tex_ASDF = a:dialog let inp = input(a:dialog) if inp =~ '\d\+' *************** *** 636,640 **** " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.6.19" endfunction --- 637,641 ---- " keep that as a stable point. function! Tex_Version() ! return "Latex-Suite: version 1.7.01" endfunction Index: texviewer.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texviewer.vim,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** texviewer.vim 26 Nov 2005 23:38:50 -0000 1.10 --- texviewer.vim 22 Dec 2005 21:27:20 -0000 1.11 *************** *** 79,82 **** --- 79,86 ---- call Tex_Debug("Tex_Complete: silent! grep! ".Tex_EscapeForGrep('\\label{'.s:prefix)." *.tex", 'view') call Tex_Grep('\\label{'.s:prefix, '*.tex') + elseif Tex_GetVarValue('Tex_ProjectSourceFiles') != '' + call Tex_Debug('Tex_Complete: searching for \\labels in all Tex_ProjectSourceFiles', 'view') + call Tex_CD(Tex_GetMainFileName(':p:h')) + call Tex_Grep('\\label{'.s:prefix, Tex_GetVarValue('Tex_ProjectSourceFiles')) else call Tex_Debug("Tex_Complete: calling Tex_GrepHelper", "view") |