I have two or three Moleskine books full of notes about all of this text stuff.
Still a maddening thing to deal with.

Especially when you send wrong things and the whole UI freezes all over.

Phil

On Wed, Apr 6, 2016 at 7:31 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:

> What are the main problems with Text, Paragraph, ... and other old
> TextComponents?
> And how are these solved with TxText?
> Stephan Eggermont wrote
>> |t1 t2 ball page|
>> page := Morph new.
>> ...

Yes, this example brackets the situation quite nicely. The current text
system "makes hard things easy, and the easy things impossible". Text
winding around little Morphic tubes, while the coolest thing ever, is rarely
useful, but try changing the caret and you will end up in hell:

�� �� �� �� [rant]I find the whole text system very confusing. What the heck does a
paragraph know about insertion points?? A view has one paragraph object,
even if there are several paragraphs (as understood by the rest of humanity
as a block of text with breaks between the adjoining ones. Editors and
Paragraphs are thrown out and replaced on a whim. I'm finding it very hard
to understand and modify[/rant] [1]

�� �� �� �� [rant]
�� �� �� �� Of course, the instant I touched Paragraph/XxxEditor, and friends I got
lost down the rabbit hole of incomprehensibility... like Paragraph, which
draws the cursor and keeps track of the selection, obviously... not! wtf ?!

�� �� �� �� Quick definition...
�� �� �� �� paragraph |��par����graf|
�� �� �� �� noun
�� �� �� �� a distinct section of a piece of writing, usually dealing with a single
theme and indicated by a new line, indentation, or numbering.

�� �� �� �� Where, tell me, does it say anything about cursors and selections??
�� �� �� �� [/rant] [2]

1.
http://forum.world.st/Customizing-the-Caret-of-a-PluggableTextMorph-tt4640245.html#a4641043
2. http://forum.world.st/Re-Vim-Keys-tt4657381.html#a4657594



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/TxText-model-tp4888199p4888748.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.