groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] 02/03: GROOVY-9101: Fix "Select All" of text editor
Date Sat, 04 May 2019 05:15:33 GMT
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 <aalmiray@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() {


Mime
View raw message