From: <sh...@us...> - 2007-06-28 08:28:05
|
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. |