#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Wed, 11 May 2016 01:30:12 +0200
changeset 3675 c7ba11759026
parent 3674 825b3a596a67
child 3676 5fdc90d84463
child 3677 1fd6bb99c343
#DOCUMENTATION by cg class: FlyByHelp comment/format in: #buttonMotion:x:y:view: #toolTipFollowsMouse changed: #initiateHelpFor:at:now:
FlyByHelp.st
--- a/FlyByHelp.st	Tue May 10 23:34:19 2016 +0200
+++ b/FlyByHelp.st	Wed May 11 01:30:12 2016 +0200
@@ -88,7 +88,7 @@
     "/ don't start tooltip, if this view is not active
     "/ does not work, because motion events are reported for the current focus-view,
     "/ which is always active. Must check after we have determined the view under the pointer
-    "/ aView topView isActive ifFalse:[^ false].
+    "/      aView topView isActive ifFalse:[^ false].
 
     ^ super buttonMotion:buttonAndModifierState x:x y:y view:aView
 !
@@ -255,6 +255,7 @@
     [
         Error handle:[:ex |
             ('FlyByhelp [warning]: error while asking for helpText: ',ex description) errorPrintCR.
+            Transcript showCR:'-------------------------'.
             ex suspendedContext fullPrintAllOn:Transcript.
             "/ self halt.
         ] do:[
@@ -305,6 +306,9 @@
 !
 
 toolTipFollowsMouse
+    "if true, the tooltip-window moves with the pointer
+     so that it stays away from (does not cover) the mouse pointer"
+
     ^ false
 ! !