[Vim-latex-cvs] vimfiles/ftplugin/latex-suite main.vim,1.19,1.20
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2002-12-23 02:04:54
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv26272 Modified Files: main.vim Log Message: . added 3 functions for debugging, Tex_Debug, Tex_PrintDebug and Tex_ClearDebug. echmosg cannot be used in certain places because it leads to hit enter prompts. Also the messages dissapear with time. Index: main.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** main.vim 22 Dec 2002 14:38:10 -0000 1.19 --- main.vim 23 Dec 2002 02:04:50 -0000 1.20 *************** *** 4,8 **** " Email: sr...@fa... " URL: ! " Last Change: Sun Dec 22 09:00 AM 2002 EST " " Help: --- 4,8 ---- " Email: sr...@fa... " URL: ! " Last Change: Sun Dec 22 05:00 PM 2002 PST " " Help: *************** *** 433,436 **** --- 433,463 ---- let s:incnum = a:val endfunction " }}} + " Functions for debugging {{{ + " Tex_Debug: appends the argument into s:debugString {{{ + " Description: + " + function! Tex_Debug(str) + if !exists('s:debugString') + let s:debugString = '' + endif + let s:debugString = s:debugString.a:str."\n" + endfunction " }}} + " Tex_PrintDebug: prings s:debugString {{{ + " Description: + " + function! Tex_PrintDebug() + if exists('s:debugString') + echo s:debugString + endif + endfunction " }}} + " Tex_ClearDebug: clears the s:debugString string {{{ + " Description: + " + function! Tex_ClearDebug() + if exists('s:debugString') + let s:debugString = '' + endif + endfunction " }}} + " }}} " source all the relevant files. |