Christian Brabandt wrote;

> On Sa, 24 Mär 2012, Bram Moolenaar wrote:
> 
> > 
> > Christian Brabandt wrote:
> > 
> > [...]
> > 
> > > > When pressing <F7>, it used to rotate through languages of
> > > > the spelling checker and print the current language at the bottom
> > > > of the screen. For example, it printed 1 line saying:
> > > > 
> > > > language: en_us
> > > > 
> > > > But after applying patch 7.3.477, pressing <F7> now scrolls the
> > > > screen one line upward and prints *2* lines at the bottom of the
> > > > screen saying:
> > > > 
> > > > :call MySpellLang()
> > > > language: en_us
> > > > 
> > > > I don't think that this change was intended or am I missing something?
> > > 
> > > Yes this was changed by the patch intentionally, otherwise scrolling 
> > > back didn't work correctly. You can use :echon, if you don't like this.
> > 
> > I already changed the patch to only output the line break once.
> > But possibly it can be surpressed more often.  Or we can find a way to
> > clear the text stored for scrolling back.
> 
> How about this patch:

[...]

> That should set sb_eol for the line the user entered, otherwise should 
> behave as pre 7.3.477. That seems to fix scrolling backwards for me, 
> while not requiring the user to enter anything after echo finishes for 
> single lines.

Thanks.  I'll have a close look at this soon.


-- 
hundred-and-one symptoms of being an internet addict:
251. You've never seen your closest friends who usually live WAY too far away.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.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

Raspunde prin e-mail lui