Re: forced screen recenter in GuiApplication::dispatch?

2017-03-13 Thread Scott Kostyshak
On Mon, Mar 13, 2017 at 10:56:10AM +0100, Jean-Marc Lasgouttes wrote: > Le 13/03/2017 à 04:37, Scott Kostyshak a écrit : > > On Sat, Dec 10, 2016 at 12:56:43AM -0500, Scott Kostyshak wrote: > > > Regarding the comment "This is done unless explicitly requested", is it > > > still possible to request

Re: forced screen recenter in GuiApplication::dispatch?

2017-03-13 Thread Jean-Marc Lasgouttes
Le 13/03/2017 à 04:37, Scott Kostyshak a écrit : On Sat, Dec 10, 2016 at 12:56:43AM -0500, Scott Kostyshak wrote: 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 thing

Re: forced screen recenter in GuiApplication::dispatch?

2017-03-12 Thread Scott Kostyshak
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.scree

Re: forced screen recenter in GuiApplication::dispatch?

2016-12-10 Thread Tommaso Cucinotta
On 10/12/2016 06:56, Scott Kostyshak wrote: 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. Ly

forced screen recenter in GuiApplication::dispatch?

2016-12-09 Thread Scott Kostyshak
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)