]> git.saurik.com Git - wxWidgets.git/blame - user/wxLayout/TODO
first text (header lines) in M get malformatted
[wxWidgets.git] / user / wxLayout / TODO
CommitLineData
43e916c3
KB
1
2BUGS
3=====================================================================
4
43e916c3
KB
5- dmalloc shows duplicate deletion after merging two lines and
6 deleting the second half
7
6ba4e8ac 8- word wrap for objects with lots of non-space needs to search in positive
378f7b3f
KB
9 direction if begin of first object is reached
10
11 - delete in empty line doesn't always work
12 - fix initial scrollbar sizes
13 - fix horiz scrollbar size
6ba4e8ac 14
e589112e 15
43e916c3
KB
16TODO
17=====================================================================
43e916c3 18
c55de8d5
KB
19Formatting of first text in message in M is broken.
20
ae2d6d02
KB
21Selections:
22 - moving in negative direction doesn't work
23 - selection state not properly reset, only works once
24 - selecting non-text objects is strange
25
26wxllist::GetSize() requires extra Layout() call, which should not be
27necessary. Find out why this is so.
0c34becb
KB
28YES, it is necessary, because the normal drawing only happens within
29the visible window.
30I must find a way to re-Layout() objects. This is only required after
31their sizes change:
32- Just mark them as dirty:
33 - mark current line as dirty when editing it (so width gets recalculated)
34 - mark all following lines as dirty when changing font settings
35 - Let Layout() work only on the dirty lines.
36 !!! GOOD: this can also be used to recalculate the wxLayoutObjectCmds'
37 fonts! :-)
ae2d6d02 38
e589112e
KB
39- searching for text
40- moving cursor in non-edit mode
a086e034
KB
41- cursor screen positioning ignores font sizes once again :-(
42 --> UpdateCursorScreenPos() cannot work as it ignores previous font formatting commands.
43 Either draw cursor when drawing text, or wait for new wxLayoutObjectCmd to be fully
44 implemented.
e589112e 45
9e55588f
KB
46RECENTLY FIXED (?)
47 - fix(simplify) cursor size calculation
48 - delete in empty line doesn't work
49 - fix horiz scrollbar size OK here, a Mahogany problem?
e589112e
KB
50 - with a large number of lines, wraps to top of scrolled window
51 --> check where the problem lies, add a debug function showing all coordinates
9e55588f 52
9e55588f
KB
53- update rectangle (needs support in wxllist and wxWindows)
54 --> needs a bit of fixing still
55 some code bits are commented out in wxlwindow.cpp
56 offset handling seems a bit dodgy, white shadow to top/left of cursor
378f7b3f 57
e589112e 58
9e55588f
KB
59 - replacement of llist in window
60 - undo
61 - font optimisations(!)
9e55588f 62 - occasionally wraps lines wongly (twice) ??
378f7b3f 63 - UNDO
9e55588f
KB
64 later:
65 - DragNDrop ... broken in wxGTK at present
66 - cut&paste ... broken in wxGTK at present, Paste already implemented
67 - Selections
378f7b3f 68
9e55588f
KB
69- More optimisations:
70 - let each line have a pointer to the last layoutcommand and let that
71 one only store the settings that changed, then we no longer need to
72 recalculate all the lines
73