Hi 2013/3/31 stephane ducasse <stephane.ducasse@free.fr>
Hello deni
this is great to see your effort on that side of the front :) One question: do you paste all these explanation in class side comments :)?
I will doing this
I want easily understand what kind of position method means. In TxLayoutSpan I try to distinct it by "charPosition" and "xyPosition". I dont sure it is nice.
How about textPosition and visualPosition/layoutPosition? So you know that it speaking either about position in text or layout position (x/y).
+1
And I don't like name of TxLayoutSpan. (too many spans).
well, it represents a portion of text, laid out in some view. so, layout span is logical name for it.
Small tasks which I have in mind: - more cursor movement actions - make settings for shortcuts at TxTextMorph - make cursor actions dynamically connected to shortcut settings. Each cursor action (method) should automatically creates shortcut setting
for it.
There is strange problem with TxTextMorph when it is transparent. Try
change
#drawOn: method to see it (remove rectangle filling).
Next I will implement events logic to update TxLayoutPosition when layout changed. And text selection stuff.
What an impressive amount of progress! Too bad i had no time to work on it.. but during next couple month i will allocate time (in context of working with Athens), to spend on it, and adopt it for athens rendering.
:)