EditTextViewCompletionSupport.st
changeset 6712 293d6dde8845
parent 6711 1b1833b56e01
child 6721 1cd09d31cb4a
--- a/EditTextViewCompletionSupport.st	Fri Sep 20 15:35:57 2019 +0200
+++ b/EditTextViewCompletionSupport.st	Fri Sep 20 15:36:50 2019 +0200
@@ -451,6 +451,8 @@
     
     |cursorX cursorY textCursorPosInTextView textCursorPosOnScreen movePos topView|
 
+    "/ race here - openCompletionView may arrive late, when the user started to do something else
+    "/ (scroll or select). Then it could happen the no cursor is currently visible.
     cursorX := editView xOfCursor.
     cursorY := editView yOfCursor.
     (cursorX isNil or:[cursorY isNil]) ifTrue:[^ self].