Re: [PATCH] bug 2830: Crash: wheel-scrolling with cursor in inset.

2006-09-15 Thread Jean-Marc Lasgouttes
> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes: Enrico> On Thu, Sep 14, 2006 at 04:23:30PM +0200, Jean-Marc Lasgouttes Enrico> wrote: >> The following patch fixes a crash with cursor-follows-scrollbar. >> The important part is in BufferView_pimpl and it ensures that the >> cursor

Re: [PATCH] bug 2830: Crash: wheel-scrolling with cursor in inset.

2006-09-14 Thread Enrico Forestieri
On Thu, Sep 14, 2006 at 04:23:30PM +0200, Jean-Marc Lasgouttes wrote: > > The following patch fixes a crash with cursor-follows-scrollbar. The > important part is in BufferView_pimpl and it ensures that the cursor > points to the buffer inset. The asserts are just extra safeties. > > Comments? Th

[PATCH] bug 2830: Crash: wheel-scrolling with cursor in inset.

2006-09-14 Thread Jean-Marc Lasgouttes
The following patch fixes a crash with cursor-follows-scrollbar. The important part is in BufferView_pimpl and it ensures that the cursor points to the buffer inset. The asserts are just extra safeties. Comments? This is for 1.4.3svn, but it should apply to 1.5.0svn too. JMarc Index: src/Buffer