On 16:32 Sun 12 Mar     , Bram Moolenaar wrote:
> 
> Marcin Szamotulski wrote:
> 
> > Currently when leaving cmd line with CTRL-c or ESC the lastmsg_chunk is
> > cleared and hence the g< command will not be useful anymore.  I think it
> > would be nice if it the lastmsg_chunk was not cleared on that occasion.
> > Unfortunately the function that clears it `clear_db_text` is called when
> > the screen is redrawing, e.g. also when entering the command line.
> > 
> > Any hints how to get it done? And if that feature would be appreciated?
> 
> I cannot find lastmsg_chunk or clear_db_text in the Vim code.

Sorry, it's clear_sb_text
https://github.com/vim/vim/blob/master/src/message.c#L2458

> 
> > I also found one bug how messages are shown:
> > 
> > :for x in [1,2,3]|echom x|endfor
> > 1
> > 2
> > 3
> > " so far so good but hit enter and press g< and the screen shows
> > 1for x in [1,2,3]|echom x|endfor
> > 2
> > 3
> 
> I can reproduce this.
> 
> -- 
> hundred-and-one symptoms of being an internet addict:
> 92. It takes you two hours to check all 14 of your mailboxes.
> 
>  /// Bram Moolenaar -- b...@moolenaar.net -- 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui