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