class: EditTextViewCompletionSupport
authorClaus Gittinger <cg@exept.de>
Thu, 03 Sep 2015 09:05:19 +0200
changeset 5411 fa4c9122e6ef
parent 5410 78eefa911c26
child 5412 d248d42bac05
class: EditTextViewCompletionSupport changed: #handleKeyPress:x:y:
EditTextViewCompletionSupport.st
--- a/EditTextViewCompletionSupport.st	Thu Sep 03 09:04:45 2015 +0200
+++ b/EditTextViewCompletionSupport.st	Thu Sep 03 09:05:19 2015 +0200
@@ -86,7 +86,7 @@
     (completionView isNil or:[completionView realized not]) ifTrue:[
         editView hasSelection ifFalse:[
             ((ch := editView characterBeforeCursor) notNil "/ i.e. not at begin of line
-            and:[ ch isLetterOrDigit or:[ '_' includes:ch ] ]) ifTrue:[
+            and:[ ch isLetterOrDigit or:[ ch == $_ ] ]) ifTrue:[
                 (key == #Control_L or:[ key == #Ctrl or:[ key == #Control_R or:[ key == #Control]]]) ifTrue:[
                     UserPreferences current codeCompletionOnControlKey ifTrue:[
                         autoSelect := true.