X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9e55588fe3053b5ce068935a9a17846f3add7462..c3317e87ec1795b8471e684f06e5366ec6f645a2:/user/wxLayout/TODO?ds=sidebyside diff --git a/user/wxLayout/TODO b/user/wxLayout/TODO index 4561575910..b39575953b 100644 --- a/user/wxLayout/TODO +++ b/user/wxLayout/TODO @@ -11,27 +11,61 @@ BUGS - delete in empty line doesn't always work - fix initial scrollbar sizes - fix horiz scrollbar size - - occasionally wraps lines wongly (twice) ?? + 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 + - 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 :-( + --> 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 (?) - fix(simplify) cursor size calculation - delete in empty line doesn't work - fix horiz scrollbar size OK here, a Mahogany problem? + - with a large number of lines, wraps to top of scrolled window + --> check where the problem lies, add a debug function showing all coordinates - - - update rectangle (needs support in wxllist and wxWindows) --> needs a bit of fixing still some code bits are commented out in wxlwindow.cpp offset handling seems a bit dodgy, white shadow to top/left of cursor + - replacement of llist in window - undo - font optimisations(!) - - copy/cut/selections - occasionally wraps lines wongly (twice) ?? - UNDO later: