#BUGFIX by cg
authorClaus Gittinger <cg@exept.de>
Fri, 19 Jul 2019 11:53:07 +0200
changeset 4308 e62f74b5bb34
parent 4307 1b0e3ba1d905
child 4309 a226361bd54e
#BUGFIX by cg class: FlyByHelp comment/format in: #keyPress:x:y:view: changed: #openDeveloperMenuFor:at:
FlyByHelp.st
--- a/FlyByHelp.st	Thu Jul 18 21:57:46 2019 +0200
+++ b/FlyByHelp.st	Fri Jul 19 11:53:07 2019 +0200
@@ -119,6 +119,8 @@
     |app helpText helpKey|
     
     app := aView topView application.
+    app isNil ifTrue:[ Transcript showCR:'no app for view: %1' with:aView. ^ self ].
+    
     app enqueueDelayedAction:[
         |editor m canDefineTranslationForLabel canDefineTranslationForHelpText|
 
@@ -130,6 +132,10 @@
 
         m := Menu new.
         m addItem:(MenuItem 
+            label:(('>> ',(aView fullName ? 'unnamed'),' <<') withColor:Color grey)).
+        m addSeparator.    
+            
+        m addItem:(MenuItem 
             label: 'Copy Helptext'
             itemValue:[
                 |package key |
@@ -215,6 +221,7 @@
     ].
 
     "Created: / 22-02-2019 / 09:32:35 / Claus Gittinger"
+    "Modified: / 19-07-2019 / 11:51:52 / Claus Gittinger"
 ! !
 
 !FlyByHelp methodsFor:'event handling'!
@@ -269,6 +276,11 @@
 !
 
 keyPress:key x:x y:y view:aView
+    "care for the special keys:
+        Ctrl (while help is shown)
+        L-Shift+R-Shift+Ctrl (while nothing is shown)
+    "
+    
     <resource: #keyboard (#Escape #Control #Shift)>
 
     |prevView text|
@@ -344,7 +356,7 @@
 
     "Modified (format): / 25-12-2011 / 10:25:23 / cg"
     "Modified (format): / 16-04-2018 / 16:53:15 / stefan"
-    "Modified (format): / 18-07-2019 / 21:53:26 / Claus Gittinger"
+    "Modified (comment): / 19-07-2019 / 11:43:52 / Claus Gittinger"
 !
 
 keyRelease:key x:x y:y view:aView