[Cuis] Class Text
Ken Dickey
Ken.Dickey at whidbey.com
Sat Feb 23 17:16:15 CST 2013
On Sat, 23 Feb 2013 19:47:35 +0000
"H. Hirzel" <hannes.hirzel at gmail.com> wrote:
>
> the reference
> http://forum.world.st/TxTextMorph-based-on-new-text-model-td4663219.html
> Juan gave is about a discussion of a new TextMorph called TxTextMorph in Pharo.
>
> The source code is here
> http://www.smalltalkhub.com/#!/~sig/TxText
> but no links to documentation.
>
> I wonder if they have a more easily readable description of what they
> are aiming at.
I think we should wait until this firms up in use.
After a brief look at the code, I note that spans are a doubly-linked list -- good for add/remove and traversal. Cursor and selection positions are by line position in the "string" of text. We could easily replace this reference at any time with Ropes.
No bit surprises. [This is good ;^].
Cheers,
-KenD
--
Ken [dot] Dickey [at] whidbey [dot] com
More information about the Cuis
mailing list