Scott Mcdermott wrote:
> bug: autoformat gets stuck, won't advance
>
> version: 7.3.34; 7.2.411, 7.2.442
> flags: --noplugin -u /dev/null
>
> steps to reproduce:
>
> press: ":se tw=55 fo+=a<enter>"
> press: "ithis is a test)<esc>"
> press: "i of the emergency broadcast system. this"
>
> now press space forever and you will never advance, vim
> loops between putting the 'this' at end of line and ')'
> at first char of next, and putting 'this)' all on
> second line.
>
> Some people in #vim reported different behavior, that
> 7.3.19 does not do this, but instead the cursor jumps
> to after the parenthesis magically, when it should not.
> I cannot reproduce that myself and do not have 7.3.19.
>
> Also can do:
>
> press: "10iq<esc>i
>
> now you can press space and it just does nothing,
> although 7.3.19 is reported to behave differently,
> "keeps moving cursor to the right." Maybe this is
> different and/or not a bug. First one definitely seems
> like a bug to me.
I see the problem. It appears the formatting deletes the space.
Patch 7.3.020 fixed a problem with cursor positioning, it will work
differently before that.
--
We do not stumble over mountains, but over molehills.
Confucius
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php