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