[Vim-latex-cvs] vimfiles/doc latex-suite.xml,1.10,1.11 latex-suite.txt,1.33,1.34
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-07-27 00:46:57
|
Update of /cvsroot/vim-latex/vimfiles/doc In directory sc8-pr-cvs1:/tmp/cvs-serv13740a Modified Files: latex-suite.xml latex-suite.txt Log Message: Bug in description of folding... Index: latex-suite.xml =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/doc/latex-suite.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** latex-suite.xml 17 Jul 2003 07:25:49 -0000 1.10 --- latex-suite.xml 27 Jul 2003 00:46:53 -0000 1.11 *************** *** 2024,2038 **** <entry><literal>endoff</literal></entry> <entry> ! like <literal>startoff</literal>, but gives the offset of the actual fold end from ! the line satisfying <literal>endpat</literal>. ! <literal>startoff</literal> and <literal>endoff</literal> are necessary when the folding region does ! not have a specific end pattern corresponding to a start ! pattern. for example in latex, ! <literal>\begin{section}</literal> ! defines the beginning of a section, but its not necessary to ! have a corresponding ! <literal>\end{section}</literal> ! the section is assumed to end 1 line <emphasis>before</emphasis> another section ! starts. </entry> </row> --- 2024,2036 ---- <entry><literal>endoff</literal></entry> <entry> ! like <literal>startoff</literal>, but gives the offset of the ! actual fold end from the line satisfying <literal>endpat</literal>. ! <literal>startoff</literal> and <literal>endoff</literal> are ! necessary when the folding region does not have a specific end ! pattern corresponding to a start pattern. for example in &latex;, ! <literal>\section{Section Name}</literal> defines the beginning of ! a section, but there is no command which specifically ends a ! section. Thus a <literal>\section</literal> is assumed to end 1 ! line <emphasis>before</emphasis> another section starts. </entry> </row> Index: latex-suite.txt =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/doc/latex-suite.txt,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** latex-suite.txt 17 Jul 2003 07:25:49 -0000 1.33 --- latex-suite.txt 27 Jul 2003 00:46:53 -0000 1.34 *************** *** 12,17 **** macros to speed up editing LaTeX documents to functions for forward searching .dvi documents. Latex-suite has been possible because of the contributions of ! many people. Please see latex-suite-credits [|ls_a_do|] for a list of people who ! have helped. Latex-suite is released under the Vim charityware license. For license and --- 12,17 ---- macros to speed up editing LaTeX documents to functions for forward searching .dvi documents. Latex-suite has been possible because of the contributions of ! many people. Please see latex-suite-credits [|latex-suite-credits|] for a list [...2531 lines suppressed...] - http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/vim-latex/db2vim/ - - The following modelines should nicely fold up this help manual. - - vim:ft=help:fdm=expr:nowrap - vim:foldexpr=getline(v\:lnum-1)=~'-\\{80}'?'>2'\:getline(v\:lnum-1)=~'=\\{80}'?'>1'\:getline(v\:lnum)=~'=\\{80}'?'0'\:getline(v\:lnum)=~'-\\{80}'?'1'\:'=' - vim:foldtext=substitute(v\:folddashes.substitute(getline(v\:foldstart),'\\s*\\*.*',"",""),'^--','\ \ \ \ \ \ ','') - ================================================================================ --- 2721,2731 ---- ================================================================================ ! Vim folding ! The following modelines should nicely fold up the help manual. + vim:ft=help:fdm=expr + vim:foldexpr=getline(v\:lnum-1)=~"=\\\\{80,}"?"a1"\:(getline(v\:lnum+1)=~"=\\\\{80,}"?"s1"\:"=") + vim:foldtext=v\:folddashes.substitute(getline(v\:foldstart),"\\\\s*\\\\*.*","","") ================================================================================ |