Hi, 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).
/Björn
*** screen.c.old Sat Apr 5 12:35:31 2008
--- screen.c Sat Apr 5 12:35:37 2008
***************
*** 9357,9362 ****
--- 9357,9366 ----
)
maketitle();
#endif
+ #ifdef FEAT_WINDOWS
+ if (redraw_tabline)
+ draw_tabline();
+ #endif
}
#ifdef FEAT_CMDL_INFO
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
tabline-insert-mode.patch
Description: Binary data
