preparing new release
authoraxelcl <axelcl>
Mon, 25 Oct 2004 17:03:28 +0000 (17:03 +0000)
committeraxelcl <axelcl>
Mon, 25 Oct 2004 17:03:28 +0000 (17:03 +0000)
net.sourceforge.phpeclipse.ui/src/net/sourceforge/phpeclipse/ui/text/rules/MultiViewPartitioner.java

index 7f1ea61..204c16c 100644 (file)
@@ -8,7 +8,7 @@
  * Contributors:
  *     Igor Malinin - initial contribution
  * 
- * $Id: MultiViewPartitioner.java,v 1.3 2004-10-21 16:21:11 jsurfer Exp $
+ * $Id: MultiViewPartitioner.java,v 1.4 2004-10-25 17:03:28 axelcl Exp $
  */
 
 package net.sourceforge.phpeclipse.ui.text.rules;
@@ -155,7 +155,9 @@ public abstract class MultiViewPartitioner extends AbstractPartitioner {
         }
         super.removeInnerRegion(position);
         if (position.offset >= 0) {
-          outerDocument.fireDocumentChanged(event);
+          if (event!=null) {
+            outerDocument.fireDocumentChanged(event);
+          }
         }
       } else {
         super.removeInnerRegion(position);