On Mon, Jun 05, 2006 at 04:24:38PM +0300, Ilya wrote:
> Benji Fisher wrote:
> > I can reproduce it. Perhaps we just need more explicit
> >instructions on how to reproduce it. Using the text above, go to the
> >g:loaded_autoit_completion line and (starting in Normal mode) type
> >
> > $i<Down><Down>
> >
> >to reproduce.
> >
> > I can see the problem in $VIMRUNTIME/plugin/matchparen.vim . In
> >this situation, the plugin moves the cursor left one character, onto the
> >"]", and then back. When this happens, vim forgets that it is trying to
> >keep the cursor in the same column as the "1".
> >
> > I do not see any way to fix this in the plugin. Perhaps the
> >getpos() and setpos() functions can be changed so that they will keep
> >the information that is being lost.
> >
> >HTH --Benji Fisher
> >
> Hm, strange, but it does not happen to me, even if I do as you say....
>
> My action:
> 1. Open gvim.
> 2. Paste text from first mail.
> 3. $i<Down><Down>
>
> and cursor is to the left of 'o' in 'onmifunc'.
Perhaps you have set 'matchpairs' so that it does not include
"[:]"? Since you snipped the three sample lines, here is another
example:
long line
()
another
After going to "long line" and doing $i<Down> do you have the cursor
after the parentheses, with the parentheses highlighted?
HTH --Benji Fisher