You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2019/05/04 05:15:33 UTC
[groovy] 02/03: GROOVY-9101: Fix "Select All" of text editor
This is an automated email from the ASF dual-hosted git repository.
paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git
commit 53cbe1debf61a0a4f3b3eb7173534b9eda210030
Author: aalmiray <aa...@gmail.com>
AuthorDate: Sat May 4 12:02:34 2019 +0800
GROOVY-9101: Fix "Select All" of text editor
---
subprojects/groovy-console/src/main/groovy/groovy/ui/Console.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/subprojects/groovy-console/src/main/groovy/groovy/ui/Console.groovy b/subprojects/groovy-console/src/main/groovy/groovy/ui/Console.groovy
index 27c5e03..200646a 100644
--- a/subprojects/groovy-console/src/main/groovy/groovy/ui/Console.groovy
+++ b/subprojects/groovy-console/src/main/groovy/groovy/ui/Console.groovy
@@ -1564,7 +1564,7 @@ class Console implements CaretListener, HyperlinkListener, ComponentListener, Fo
}
void selectAll(EventObject evt = null) {
- invokeTextAction(evt, { source -> source.selectAll() }, copyFromComponent ?: inputEditor.textEditor)
+ invokeTextAction(evt, { source -> source.selectAll() }, copyFromComponent ?: inputArea)
}
void setRowNumAndColNum() {