Hi,

I've noticed that after applying setModified through the netbeans
interface, the tab bar, status bar and title are not updated to reflect
the changed modified status.

The proposed patch fixes that. I am a beginner in vim development, so
tell me if it's not the correct way to get the gui updated.

        cheers,

        Philippe

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

Index: netbeans.c
===================================================================
*** netbeans.c  (revision 986)
--- netbeans.c  (working copy)
***************
*** 1993,1998 ****
--- 1993,2008 ----
                buf->bufp->b_changed = 0;
            }
            buf->modified = buf->bufp->b_changed;
+                   
+ #ifdef FEAT_WINDOWS
+           check_status(buf->bufp);
+           redraw_tabline = TRUE;
+ #endif
+ #ifdef FEAT_TITLE
+             maketitle();
+ #endif
+           update_screen(0);
+ 
  /* =====================================================================*/
        }
        else if (streq((char *)cmd, "setModtime"))

Raspunde prin e-mail lui