[RFC] Simple Search to Bottom Dock

Stephan Witt st.witt at gmx.net
Mon Feb 15 08:52:25 UTC 2021


Am 15.02.2021 um 09:11 schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> 
> Am Sonntag, dem 14.02.2021 um 22:54 +0100 schrieb Pavel Sanda:
>> Another glitch: F3 in search pane goes forward, F3 in edit area goes
>> backward.
> 
> This looks like an (unintended?) consequence of Stephan's work: word-
> find now uses cached search information _including_ direction.
> 
> Stephan is this really how it should be?

I don’t understand. The direction isn’t stored in setSearchRequestCache().
The direction is stripped. Probably that causes the trouble.

You did something about it. I had another proposal ready but not sent yet :(

Patch attached.

Stephan

> 
> We could re-bind F3 to word-find-forward in cua, but this has the
> drawback that it doesn't open the search dialog if the buffer is empty.
> 
>> If I understand correctly the situation on Mac, when some text is
>> selected, you can immediately use shortcut for find-next. Wouldn't be
>> cool to have shortcut for this in linux as well (AFAIK we don't now)?
> 
> Bound to Ctrl-F3 now.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: LFUN_WORD_FIND.patch
Type: application/octet-stream
Size: 543 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210215/33e6166c/attachment.obj>


More information about the lyx-devel mailing list