[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-cvs
Subject:    [ jEdit-commits ] SF.net SVN: jedit: [9867]
From:       shlomy () users ! sourceforge ! net
Date:       2007-06-28 8:27:37
Message-ID: E1I3pLl-000282-FM () sc8-pr-svn4 ! sourceforge ! net
[Download RAW message or body]

Revision: 9867
          http://svn.sourceforge.net/jedit/?rev=9867&view=rev
Author:   shlomy
Date:     2007-06-28 01:27:37 -0700 (Thu, 28 Jun 2007)

Log Message:
-----------
Remove a redundant "Can't determine mode of current buffer" message when a \
BUFFER_CHANGED message is received but the buffer is not yet loaded.

Modified Paths:
--------------
    plugins/SideKick/trunk/sidekick/SideKick.java

Modified: plugins/SideKick/trunk/sidekick/SideKick.java
===================================================================
--- plugins/SideKick/trunk/sidekick/SideKick.java	2007-06-28 05:05:51 UTC (rev 9866)
+++ plugins/SideKick/trunk/sidekick/SideKick.java	2007-06-28 08:27:37 UTC (rev 9867)
@@ -392,6 +392,8 @@
 				removeBufferChangeListener(this.buffer);
 				deactivateParser();
 				buffer = editPane.getBuffer();
+				if (! buffer.isLoaded())
+					return;
 				parser = SideKickPlugin.getParserForBuffer(buffer);
 				activateParser();
 


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jEdit-CVS mailing list
jEdit-CVS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic