The attached patch causes the tab line to be redrawn with + indicating a
change to a file whenever 'bomb' is set.

-- 
Cheers,
Lech

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Index: src/option.c
===================================================================
--- src/option.c	(revision 1341)
+++ src/option.c	(working copy)
@@ -7119,6 +7119,9 @@
 #ifdef FEAT_MBYTE
     /* when 'bomb' is changed, redraw the window title */
     else if ((int *)varp == &curbuf->b_p_bomb)
+#ifdef FEAT_WINDOWS
+	redraw_tabline =
+#endif
 	need_maketitle = TRUE;
 #endif
 #endif
@@ -7714,7 +7717,7 @@
 	newFoldLevel();
     }
 
-    /* 'foldminlevel' */
+    /* 'foldminlines' */
     else if (pp == &curwin->w_p_fml)
     {
 	foldUpdateAll(curwin);
Index: runtime/doc/todo.txt
===================================================================
--- runtime/doc/todo.txt	(revision 1341)
+++ runtime/doc/todo.txt	(working copy)
@@ -292,9 +292,6 @@
 Win32: using CTRL-S in Insert mode doesn't remove the "+" from the tab pages
 label.  (Tsakiridis, 2007 Feb 18)  Patch from Ian Kelling, 2008 Aug 6.
 
-When 'bomb' is changed the window title is updated to show/hide a "+", but the
-tab page label isn't. (Patrick Texier, 2008 Jun 24)
-
 Win32: using "gvim --remote-tab-silent fname" sometimes gives an empty screen
 with the more prompt.  Caused by setting the guitablabel?  (Thomas Michael
 Engelke, 2007 Dec 20 - 2008 Jan 17)

Raspunde prin e-mail lui