We currently have the following code in GuiApplication::dispatch: DispatchResult dr; // redraw the screen at the end (first of the two drawing steps). // This is done unless explicitly requested otherwise dr.screenUpdate(Update::FitCursor); dispatch(cmd, dr); updateCurrentView(cmd, dr);
Regarding the comment "This is done unless explicitly requested", is it still possible to request that a redraw not be done and if so how? Or is this comment left-over from how things were previously (e.g. a3aad45f)? I don't see how the screen flags can be modified after FitCursor is set. I'm looking into how to disable recentering the screen upon a "copy". The use case is that I often use ctrl+a, ctrl+a, ctrl+c to copy a large inset and then paste it below. Currently, after ctrl+c LyX scrolls up to the beginning of the large inset. I'm not confident this is a good proposal, but in any case it lead me to this comment that I wasn't sure is still valid. Scott
signature.asc
Description: PGP signature