On Sep 22, 2005, at 4:08 AM, Martin Vermeer wrote:

Here is a better patch, taking care of rowpainter too. metrics is still
called twice, but now (generally) only for the current paragraph, not
the whole screen. Ought to be faster.

I saw no side effects.

I tried it, and it generally feels quite a bit faster, though there still is considerable lag.

I did notice a side effect: typing in one paragraph causes text in the paragraph after the next paragraph to be poorly displayed. At first, it looks as though all text in that later paragraph is being displayed one pixel over on top of the previous text (giving the impression of boldface). As I continue typing, text in that paragraph keeps getting displayed progressively further to the right (so that it gradually looks bolder and bolder). Then, when my typing causes a new line to be displayed, the text in that later paragraph is redrawn without erasing the previous text, resulting in the screen shot I've attached.

The text in that paragraph gets redrawn with a mouse click. But there's a further problem: although clicking above the badly drawn paragraph places the cursor in the right place, clicking below it places the cursor in the last line of the badly drawn paragraph.

Bennett

PNG image

Reply via email to