]> git.saurik.com Git - wxWidgets.git/blobdiff - user/wxLayout/TODO
find position bug fixed
[wxWidgets.git] / user / wxLayout / TODO
index 3f65a621c5f563e563d21e3224dfd9b4e0c3696c..e7c4ec319913fd84589f09e5127560ad4ed4a5cd 100644 (file)
@@ -11,14 +11,29 @@ BUGS
   - delete in empty line doesn't always work
   - fix initial scrollbar sizes
   - fix horiz scrollbar size
-  - occasionally wraps lines wongly (twice) ??
 
 
 TODO
 =====================================================================
 
-- Image at end of a message doesn't get considered properly in
-  wxLayoutList::GetSize(), so it cannot be seen
+Selections:
+  - moving in negative direction doesn't work
+  - selection state not properly reset, only works once
+  - selecting non-text objects is strange
+
+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! :-)
+
 - searching for text
 - moving cursor in non-edit mode
 - cursor screen positioning ignores font sizes once again :-(