git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48608cc
)
JAL-3021 show Sequence Details with cursor at top
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 3 Apr 2019 15:43:19 +0000
(16:43 +0100)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Wed, 3 Apr 2019 15:43:19 +0000
(16:43 +0100)
src/jalview/gui/CutAndPasteHtmlTransfer.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/CutAndPasteHtmlTransfer.java
b/src/jalview/gui/CutAndPasteHtmlTransfer.java
index
2e51bce
..
1d7d1c9
100644
(file)
--- a/
src/jalview/gui/CutAndPasteHtmlTransfer.java
+++ b/
src/jalview/gui/CutAndPasteHtmlTransfer.java
@@
-143,6
+143,7
@@
public class CutAndPasteHtmlTransfer extends GCutAndPasteHtmlTransfer
{
textarea.setDocument(textarea.getEditorKit().createDefaultDocument());
textarea.setText(text);
+ textarea.setCaretPosition(0);
}
@Override