On Fri, Apr 28, 2006 at 06:40:56PM +0200, Jean-Marc Lasgouttes wrote: > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes: > > >> Maybe, but what flag? Or add a fitcursor() member to > >> DispatchResult? > > Martin> Could NoUpdate be overloaded for this? > > We'll have to check that the use case is the right one. > > >> The best is probably to force a fitcursor only when needed. And > >> idea: what about doing a fitcursor when the cursor has changed? > >> Does it make sense? > > Martin> But that won't help in this problem case. The cursor _has_ > Martin> changed and we do _not_ want to do a fitcursor operation. > > The cursor has changed when doing a Save?
What I mean is, it not inside the viewport. Which is the test used for fitcursor. Do you mean to test whether the operation actually modifies the cursor (and 'save' does not, of course)? Would probably work, but it is a dirty trick. - Martin
pgppR5hnnTBBQ.pgp
Description: PGP signature