On Sat, Dec 10, 2016 at 12:56:43AM -0500, Scott Kostyshak wrote:
> 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.

Jürgen, is your comment from a3aad45f still valid? i.e. can I request
for the screen not to be redrawn?

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to