From: gmungoc Date: Wed, 3 Apr 2019 15:43:19 +0000 (+0100) Subject: JAL-3021 show Sequence Details with cursor at top X-Git-Tag: Release_2_11_0~17^2~21 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d8100724d7b7dc9ff1f83f7dffc65bb650856c94;p=jalview.git JAL-3021 show Sequence Details with cursor at top --- diff --git a/src/jalview/gui/CutAndPasteHtmlTransfer.java b/src/jalview/gui/CutAndPasteHtmlTransfer.java index 2e51bce..1d7d1c9 100644 --- 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