Am Mon, 27 Jun 2022 16:03:43 +0200
schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:

> Le 25/06/2022 à 22:15, Kornel Benko a écrit :
> >>> But works fine if not changing the view.
> >>> One comment though:
> >>> I'd prefer to not only change focus, but restore the old focus after the 
> >>> dispatch
> >>> (if possible of course). Inserting any text after clicking TOC, inserts 
> >>> in the work
> >>> area and not in the internal search buffer.  
> >>
> >> My thinking was that clicking the toc is an action on the document
> >> buffer, and it makes sense that the cursor goes there.
> >>
> >> What is the use case where you would want to the mouse to stay? To
> >> search in a different part of the document?  
> > 
> > To compare visually with some other part of document, but still have the 
> > cursor
> > on the found string. So that the next 'find' will start as if I did not use 
> > TOC.  
> 
> I can do that (although slightly more complicated).
> 
> But the cursor will have moved in the document workarea, anyway. So the 
> search will not continue exactly as it was, right?

Yes, except if the saving of actual cursor would also be done. Starts to be more
complicated. Is that even possible? (I mean display document area with the 
cursor not
inside)

> JMarc

        Kornel

Attachment: pgpsOSaRXfbl0.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to