#BUGFIX by exept
class: EditTextViewCompletionSupport
changed: #adjustSizeOfCompletionView:
--- a/EditTextViewCompletionSupport.st Sun Jan 19 14:37:47 2020 +0100
+++ b/EditTextViewCompletionSupport.st Sun Jan 19 17:42:08 2020 +0100
@@ -414,6 +414,11 @@
textCursorPosInTextView textCursorPosOnScreen
newX newY cursorX cursorY distanceFromCursorIfBelow distanceFromCursorIfAbove|
+ editView xOfCursor isNil ifTrue:[
+ "/ oops - no cursor shown???
+ ^ self
+ ].
+
textCursorPosInTextView := editView xOfCursor @ editView yOfCursor.
textCursorPosOnScreen := editView device
translatePoint:textCursorPosInTextView