]> git.saurik.com Git - wxWidgets.git/blobdiff - user/wxLayout/TODO
some changes, untested
[wxWidgets.git] / user / wxLayout / TODO
index f19ba13770a04a1c6221b575e3fa491ab40eccd5..7ba72551f04dd27b4ee1267eafce33b89f5242ea 100644 (file)
@@ -16,6 +16,14 @@ BUGS
 TODO
 =====================================================================
 
+Adding many lines makes it terribly slow.
+Printing produces empty pages only.
+
+Formatting of first text in message in M is broken.
+Large images in last line don't get displayed properly.
+Taking last line's height as default for next is rubbish,
+use "default height" and adjust as necessary.
+
 Selections:
   - moving in negative direction doesn't work
   - selection state not properly reset, only works once
@@ -23,10 +31,17 @@ Selections:
 
 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! :-)
 
-
-- Image at end of a message doesn't get considered properly in
-  wxLayoutList::GetSize(), so it cannot be seen
 - searching for text
 - moving cursor in non-edit mode
 - cursor screen positioning ignores font sizes once again :-(