On Sat, 15 Nov 2008, Vincent van Ravesteijn - TNW wrote:

To reproduce this bug:

1. New file
2. Enter some text
3. New paragraph
4. Insert a Note (e.g.) with some text in it.
5. Select some text.
6. Press cursor up.

Now the selection is not cleared. It is cleared in the cursor, but the screen 
isn't repainted.

Behaviour confirmed (of course).

/C

This is caused by the fact that the cur.updateFlags are reset at the top of the 
Text::dispatch function.
// FIXME: We use the update flag to indicates wether a singlePar or a
// full screen update is needed. We reset it here but shall we restore it
// at the end?

To solve this bug, we should indeed restore the updateFlags.

Vincent


--
Christian Ridderström, +46-8-768 39 44            http://www.md.kth.se/~chr

Reply via email to