git://git.phpeclipse.com
/
phpeclipse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixed bug #1404228: Crash on <?php // comment ?>
[phpeclipse.git]
/
net.sourceforge.phpeclipse
/
src
/
net
/
sourceforge
/
phpeclipse
/
phpeditor
/
JavaSourceViewer.java
diff --git
a/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/JavaSourceViewer.java
b/net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/JavaSourceViewer.java
index
7727311
..
030c7d5
100644
(file)
--- a/
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/JavaSourceViewer.java
+++ b/
net.sourceforge.phpeclipse/src/net/sourceforge/phpeclipse/phpeditor/JavaSourceViewer.java
@@
-139,7
+139,8
@@
public class JavaSourceViewer extends ProjectionViewer implements IPropertyChang
case FORMAT:
Point point = getSelectedRange();
if (point.y==0) {
- setSelectedRange(0, getDocument().getLength());
+// setSelectedRange(0, getDocument().getLength());
+ revealRange(0, getDocument().getLength());
}
break;
}