git://secure.phpeclipse.com
/
phpeclipse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
request 1217212, set cursor in new PHP/HTML wizards to file name, if container is...
[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;
}