#QUALITY by cg
authorClaus Gittinger <cg@exept.de>
Thu, 09 Jan 2020 12:20:23 +0100
changeset 4421 7ce9514737c4
parent 4420 1ee60327c114
child 4422 11f7d9bc365f
#QUALITY by cg class: FlyByHelp comment/format in: #hideHelp changed: #keyPress:x:y:view: #keyRelease:x:y:view:
FlyByHelp.st
--- a/FlyByHelp.st	Fri Jan 03 14:52:47 2020 +0100
+++ b/FlyByHelp.st	Thu Jan 09 12:20:23 2020 +0100
@@ -395,12 +395,17 @@
     ]]) ifTrue:[
         Smalltalk isStandAloneApp ifFalse:[
             (#(#'Control' #'Control_L' #'Control_R' #'Ctrl' #'Ctrl_L' #'Ctrl_R') includes:key) ifTrue:[
+                "/ viewsDevice ctrlDown infoPrintCR.
+
                 viewsDevice shiftDown ifTrue:[
                     self openDeveloperMenuFor:(debuggedView ? aView) at:x@y.
                     ^ false
                 ].
                 "/ reopen showing the key
-                "/ Transcript show:'re initialize help: '; showCR:key.
+                DebuggingEvents == true ifTrue:[
+                    ('================================================') infoPrintCR.
+                    ('re initialize help: ',key storeString) infoPrintCR.
+                ].
                 self initiateHelpFor:aView at:(x@y) now:true.
                 ^ false
             ].
@@ -460,9 +465,11 @@
     "/ DebuggingEvents := true
     "/ DebuggingEvents := false
     DebuggingEvents == true ifTrue:[
-        ('%1: KeyRelease view:%2' 
-                bindWith:self className 
-                with:aView) infoPrintCR.
+        ('%1: KeyRelease key:%2 view:%3 current:%4' 
+                bindWith:self className
+                with:key storeString
+                with:aView
+                with:currentHelpView) infoPrintCR.
     ].
     currentHelpView notNil ifTrue:[
         (#(#'Control' #'Control_L' #'Control_R' #'Ctrl' #'Ctrl_L' #'Ctrl_R') includes:key) ifTrue:[
@@ -650,6 +657,8 @@
 
     |p v|
 
+    "/ thisContext fullPrintAll.
+
     "/ lastHelpText := nil.
     self stopHelpDisplayProcess.
     lastHelpText := nil.