git://git.phpeclipse.com
/
phpeclipse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
07aef04
)
Avoid NPE for "Mark Occurrences"
author
axelcl
<axelcl>
Wed, 2 Nov 2005 19:52:00 +0000 (19:52 +0000)
committer
axelcl
<axelcl>
Wed, 2 Nov 2005 19:52:00 +0000 (19:52 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPEditor.java
patch
|
blob
|
history
diff --git
a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPEditor.java
b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPEditor.java
index
c10ebf9
..
458a4ac
100644
(file)
--- a/
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPEditor.java
+++ b/
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/PHPEditor.java
@@
-5615,7
+5615,7
@@
public abstract class PHPEditor extends AbstractDecoratedTextEditor implements I
fMarkOccurrenceModificationStamp = currentModificationStamp;
}
- if (fMarkOccurrenceTargetRegion == null) {
+ if (fMarkOccurrenceTargetRegion == null || fMarkOccurrenceTargetRegion.getLength()==0) {
return;
}