-wxllist::GetSize() requires extra Layout() call, which should not be
-necessary. Find out why this is so.
-YES, it is necessary, because the normal drawing only happens within
-the visible window.
-I must find a way to re-Layout() objects. This is only required after
-their sizes change:
-- Just mark them as dirty:
- - mark current line as dirty when editing it (so width gets recalculated)
- - mark all following lines as dirty when changing font settings
- - Let Layout() work only on the dirty lines.
- !!! GOOD: this can also be used to recalculate the wxLayoutObjectCmds'
- fonts! :-)
-
-- cursor screen positioning ignores font sizes once again :-(
- --> UpdateCursorScreenPos() cannot work as it ignores previous font formatting commands.
- Either draw cursor when drawing text, or wait for new wxLayoutObjectCmd to be fully
- implemented.
-
-RECENTLY FIXED (?)
- - delete in empty line doesn't work
+- Changing default settings in Clear() or changing/inserting/deleting
+ a wxLayoutObject needs to update the m_StyleInfo in all lines, only
+ then can we start using that one.