Re: [Vim-latex-cvs] vimfiles/plugin imaps.vim,1.14,1.15
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2002-12-30 11:03:58
|
I just noticed another problem with the long marker string. We are triggering line breaks unecessarily. Just doing $$ 10 spaces away from EOL causes the $$ to slip into the next line. This will have to be fixed too... Maybe Benji's original idea of using phs.phs instead of the marker string... (maybe check to see if phs != phe before this...) Srinath On Mon, 30 Dec 2002 sri...@us... wrote: > Update of /cvsroot/vim-latex/vimfiles/plugin > In directory sc8-pr-cvs1:/tmp/cvs-serv405 > > Modified Files: > imaps.vim > Log Message: > Bug: When we trigger a mapping near the end of the line, things go bad. > Cause: The "marker" or the "very improbable string" which is used by > IMAP_PutTextWithMovement() to mark the beginning of the left-hand side > contains spaces! This causes expansions near the end of a line to > trigger line breaks (if 'fo' contains t, which is default and tw != 0), > so that the marker text is broken across lines... Havoc ensues. > Solution: remove spaces from marker text. > |