Marcel Taeumel uploaded a new version of Multilingual to project The Trunk:
http://source.squeak.org/trunk/Multilingual-mt.246.mcz==================== Summary ====================
Name: Multilingual-mt.246
Author: mt
Time: 9 October 2019, 5:41:10.38539 pm
UUID: 6679322b-c18e-8743-bb2a-d867e57ed4e3
Ancestors: Multilingual-eem.245
Complements Morphic-mt.1563.
Adds at least a comment to ImmAbstractPlatform to get started.
=============== Diff against Multilingual-eem.245 ===============
Item was added:
+ ----- Method: HandMorph class>>compositionWindowManager (in category '*Multilingual-ImmPlugin') -----
+ compositionWindowManager
+ CompositionWindowManager ifNotNil: [^CompositionWindowManager].
+ Smalltalk platformName = 'Win32'
+ ifTrue: [^CompositionWindowManager := ImmWin32 new].
+ (Smalltalk platformName = 'unix'
+ and: [(Smalltalk windowSystemName) = 'X11'])
+ ifTrue: [^CompositionWindowManager := ImmX11 new].
+ ^CompositionWindowManager := ImmAbstractPlatform new!
Item was added:
+ ----- Method: HandMorph>>compositionWindowManager (in category '*Multilingual-ImmPlugin') -----
+ compositionWindowManager
+
+ ^ self class compositionWindowManager.
+ !
Item was changed:
Object subclass: #ImmAbstractPlatform
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Multilingual-ImmPlugin'!
+
+ !ImmAbstractPlatform commentStamp: 'mt 10/9/2019 17:22' prior: 0!
+ Squeak on iOS at last?
+
+ See
http://forum.world.st/Squeak-on-iOS-at-last-td4849478.html.
+
+ ... The proper way to do this (IMHO) would be by implementing an IMM plugin for iOS just like we have for X11 etc. Morphic calls a plugin function whenever a text input field gets focused, which could be used to trigger the keyboard. But AFAIK nobody has gone that route yet, instead relying on the ObjectiveCBridge plugin to call OS functions directly....!
Item was added:
+ ----- Method: Morph>>preferredKeyboardBounds (in category '*Multilingual-ImmPlugin') -----
+ preferredKeyboardBounds
+
+ ^ self bounds: self bounds in: self world.
+ !
Item was added:
+ ----- Method: Morph>>preferredKeyboardPosition (in category '*Multilingual-ImmPlugin') -----
+ preferredKeyboardPosition
+
+ ^ (self bounds: self bounds in: self world) topLeft.
+ !
Item was added:
+ ----- Method: TextMorphForEditView>>preferredKeyboardPosition (in category '*Multilingual-ImmPlugin') -----
+ preferredKeyboardPosition
+
+ | pos |
+ pos := super preferredKeyboardPosition.
+ ^ pos + (self boundsInWorld) topLeft.
+ !