From aedf2daf6d9af468f6a2288eed62eb4298f2fc4f Mon Sep 17 00:00:00 2001 From: Tom Beckmann Date: Fri, 22 Sep 2023 13:41:26 +0200 Subject: [PATCH] core: fix positioning of input-reconcile --- packages/Sandblocks-TreeSitter/SBTSInputReconcile.class.st | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/Sandblocks-TreeSitter/SBTSInputReconcile.class.st b/packages/Sandblocks-TreeSitter/SBTSInputReconcile.class.st index cb6a5ad..7d0f357 100644 --- a/packages/Sandblocks-TreeSitter/SBTSInputReconcile.class.st +++ b/packages/Sandblocks-TreeSitter/SBTSInputReconcile.class.st @@ -140,10 +140,10 @@ SBTSInputReconcile >> for: aTextMorph input: aString at: aNumber [ moveCursorToEnd; queueUpdateSuggestionsFocused: true. - aNumber = 1 ifTrue: [self topRight: aTextMorph position] ifFalse: [ + aNumber = 1 ifTrue: [self topRight: aTextMorph boundsInEditor topLeft] ifFalse: [ aTextMorph sourceString - ifEmpty: [self topLeft: aTextMorph topLeft] - ifNotEmpty: [self topLeft: aTextMorph topRight]]. + ifEmpty: [self topLeft: aTextMorph boundsInEditor topLeft] + ifNotEmpty: [self topLeft: aTextMorph boundsInEditor topRight]]. self updateChoices ]