Bjorn Winckler wrote:

> George Harker pointed out the following bug on vim_mac:
> 
> 1. Make sure tabline is visible (e.g. open two tabs)
> 2. Open a file in one tab, enter insert mode and make a change so that
> the "+" appears in the tab (and window) title
> 3. Whilst still in insert mode, select the "File->Save" menu item
> 
> Result: The buffer is saved and the "+" disappears from the window
> title, but _not_ from the tab title.
> 
> This affects Vim on all platforms regardless whether "e" is in
> 'guioptions' or not.
> 
> I debugged the problem and found that the variable redraw_tabline does
> get set (in unchanged(), misc1.c), but it is never checked for so
> draw_tabline() never gets called.
> 
> Solution: The window title gets updated from a call inside showruler()
> (screen.c) so I call draw_tabline() in there as well.  This fixes the
> problem, but I do not know if this solution is optimal.  The patch can
> be found below (I've attached it as well in case it gets mangled).

Thanks for fixing this.  I'll include the patch.

-- 
hundred-and-one symptoms of being an internet addict:
243. You unsuccessfully try to download a pizza from www.dominos.com.

 /// 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.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui