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?
JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel