]>
Commit | Line | Data |
---|---|---|
43e916c3 KB |
1 | |
2 | BUGS | |
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 |
16 | TODO |
17 | ===================================================================== | |
43e916c3 | 18 | |
c55de8d5 | 19 | Formatting of first text in message in M is broken. |
d9904e2f KB |
20 | Large images in last line don't get displayed properly. |
21 | Taking last line's height as default for next is rubbish, | |
22 | use "default height" and adjust as necessary. | |
c55de8d5 | 23 | |
ae2d6d02 KB |
24 | Selections: |
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 | ||
29 | wxllist::GetSize() requires extra Layout() call, which should not be | |
30 | necessary. Find out why this is so. | |
0c34becb KB |
31 | YES, it is necessary, because the normal drawing only happens within |
32 | the visible window. | |
33 | I must find a way to re-Layout() objects. This is only required after | |
34 | their 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! :-) | |
ae2d6d02 | 41 | |
e589112e KB |
42 | - searching for text |
43 | - moving cursor in non-edit mode | |
a086e034 KB |
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. | |
e589112e | 48 | |
9e55588f KB |
49 | RECENTLY 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? | |
e589112e KB |
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 | |
9e55588f | 55 | |
9e55588f KB |
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 | |
378f7b3f | 60 | |
e589112e | 61 | |
9e55588f KB |
62 | - replacement of llist in window |
63 | - undo | |
64 | - font optimisations(!) | |
9e55588f | 65 | - occasionally wraps lines wongly (twice) ?? |
378f7b3f | 66 | - UNDO |
9e55588f KB |
67 | later: |
68 | - DragNDrop ... broken in wxGTK at present | |
69 | - cut&paste ... broken in wxGTK at present, Paste already implemented | |
70 | - Selections | |
378f7b3f | 71 | |
9e55588f KB |
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 |