From: <sh...@us...> - 2007-08-28 20:30:53
|
Revision: 10442 http://jedit.svn.sourceforge.net/jedit/?rev=10442&view=rev Author: shlomy Date: 2007-08-28 13:30:49 -0700 (Tue, 28 Aug 2007) Log Message: ----------- Fixed bug 1643656: SideKick doesn't parse on jEdit start. Modified Paths: -------------- plugins/SideKick/trunk/sidekick/SideKick.java Modified: plugins/SideKick/trunk/sidekick/SideKick.java =================================================================== --- plugins/SideKick/trunk/sidekick/SideKick.java 2007-08-28 05:45:12 UTC (rev 10441) +++ plugins/SideKick/trunk/sidekick/SideKick.java 2007-08-28 20:30:49 UTC (rev 10442) @@ -351,7 +351,9 @@ setParser(view.getBuffer()); } - if (bmsg.getView() != view ) return; + if (bmsg.getView() != view && + (bmsg.getView() != null || bmsg.getBuffer() != view.getBuffer())) + return; if (bmsg.getWhat() == BufferUpdate.SAVED && isParseOnSave()) parse(true); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |