Hi, I hate to bring this up, but it seems that TextMorph is broken: (1) The width of a TextMorph cannot be changed directly, only resetting the content (via #contents:) changes its width. (2) It's not possible to position the cursor past the last character with a point and click operation. (3) Moving the cursor past the last character with the arrow keys makes it disappear (even though it is positioned correctly). (4) It's not possible to change the font in the meta-menu. Is anyone else having similar problems? Any recommendations? All I need is a single line TextMorph that matches its width with the width of its text. I am using Pharo 3.0 (the most recent official version retrievable via the website). Thanks -- View this message in context: http://forum.world.st/TextMorph-broken-tp4798645.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
I used PluggableTextMorph instead and an override to vIsScrollbarNeeded. However, it seems problem (4) is also present in the PluggableTextMorph class. Also, there is no font change button for LabelItems in the morphic menu. Looking at the, sometimes rather obscure code in Morphic classes, it seems that some major refactoring is in order. Are there any plans to revise Morphic? Also, is there additional documentation for Morphic? (Unfortunately, the Squeak Wiki is rather superficial :(). Well, at least the live environment makes inspection and experimentation easy :) -- View this message in context: http://forum.world.st/TextMorph-broken-tp4798645p4798713.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Le 10/1/15 02:04, Atlas a écrit :
I used PluggableTextMorph instead and an override to vIsScrollbarNeeded. However, it seems problem (4) is also present in the PluggableTextMorph class. Also, there is no font change button for LabelItems in the morphic menu. Looking at the, sometimes rather obscure code in Morphic classes, it seems that some major refactoring is in order.
Are there any plans to revise Morphic? yes since years we are cleaning it but we need more time/money. Alain is rewriting a totally new kernel and he is making really nice progress.
Stef
Also, is there additional documentation for Morphic? (Unfortunately, the Squeak Wiki is rather superficial :(). Well, at least the live environment makes inspection and experimentation easy :)
-- View this message in context: http://forum.world.st/TextMorph-broken-tp4798645p4798713.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
Thanks Stef, that's good to know. It's certainly not an easy task, and I am glad that there is progress! Thanks Alain! -- View this message in context: http://forum.world.st/TextMorph-broken-tp4798645p4798755.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (2)
-
Atlas -
stepharo