Re: Coord cache and single par update

2006-11-06 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: Abdelrazak> #ifdef Q_WS_WIN Abdelrazak> +int const CursorWidth = 2; About this cursor with width 2: what is the width of cursor in a qtextedit? From reading the sources, I'd say 1. JMarc

Re: Coord cache and single par update

2006-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Thu, Nov 02, 2006 at 04:57:09PM +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: On Thu, 2006-11-02 at 10:45 +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: Note that the job will be easier if stale caches are not covered up by the current overzealous full-

Re: Coord cache and single par update

2006-11-02 Thread Martin Vermeer
On Thu, Nov 02, 2006 at 04:57:09PM +0100, Abdelrazak Younes wrote: > Martin Vermeer wrote: > >On Thu, 2006-11-02 at 10:45 +0100, Abdelrazak Younes wrote: > >>Martin Vermeer wrote: > >>>Note that the job will be easier if stale caches are not covered up by > >>>the current overzealous full-screen re

Re: Coord cache and single par update

2006-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: On Thu, 2006-11-02 at 10:45 +0100, Abdelrazak Younes wrote: Martin Vermeer wrote: Note that the job will be easier if stale caches are not covered up by the current overzealous full-screen refresh behaviour. I suggest getting rid of that first. The full refresh thing is d

Re: Coord cache and single par update

2006-11-02 Thread Martin Vermeer
On Thu, 2006-11-02 at 10:45 +0100, Abdelrazak Younes wrote: > Martin Vermeer wrote: > > > > Note that the job will be easier if stale caches are not covered up by > > the current overzealous full-screen refresh behaviour. I suggest getting > > rid of that first. > > The full refresh thing is due

Re: Coord cache and single par update

2006-11-02 Thread Martin Vermeer
On Thu, 2006-11-02 at 10:40 +0100, Abdelrazak Younes wrote: > Martin Vermeer wrote: > > > Hmmm, I don't think this is done in 1.4, and still single par update > > works just fine there... in 1.5 the infrastructure is there but it isn't > > working properly, as whole-screen updates have been layere

Re: Coord cache and single par update

2006-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: Note that the job will be easier if stale caches are not covered up by the current overzealous full-screen refresh behaviour. I suggest getting rid of that first. The full refresh thing is due to the cursor bug. I will work on it as soon as I find some free time. Abde

Re: Coord cache and single par update

2006-11-02 Thread Abdelrazak Younes
Martin Vermeer wrote: Hmmm, I don't think this is done in 1.4, and still single par update works just fine there... in 1.5 the infrastructure is there but it isn't working properly, as whole-screen updates have been layered on top of it with reckless disregard for what was already there, which t

Re: Coord cache and single par update

2006-11-01 Thread Martin Vermeer
On Thu, 2006-11-02 at 07:59 +0100, Asger Ottar Alstrup wrote: > Martin Vermeer wrote: > > On Wed, Nov 01, 2006 at 11:36:08PM +0100, Asger Ottar Alstrup wrote: > >> [Partial refresh requires partial coord cache refresh] > > > Hmmm, I don't think this is done in 1.4, and still single par update > >

Re: Coord cache and single par update

2006-11-01 Thread Asger Ottar Alstrup
Martin Vermeer wrote: On Wed, Nov 01, 2006 at 11:36:08PM +0100, Asger Ottar Alstrup wrote: [Partial refresh requires partial coord cache refresh] Hmmm, I don't think this is done in 1.4, and still single par update works just fine there... I guess that in the common case, things work out c

Re: Coord cache and single par update

2006-11-01 Thread Martin Vermeer
On Wed, Nov 01, 2006 at 11:36:08PM +0100, Asger Ottar Alstrup wrote: > Hi, > > To implement partial update (single paragraph update), it is not enough > just to redraw only those parts of the screen. > > You also have to implement partial update of the coord cache. Right now, > the only possibl

Coord cache and single par update

2006-11-01 Thread Asger Ottar Alstrup
Hi, To implement partial update (single paragraph update), it is not enough just to redraw only those parts of the screen. You also have to implement partial update of the coord cache. Right now, the only possible operation for the coord cache is to clear all of it. To implement partial upd