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