[RFC] Simple Search to Bottom Dock

Stephan Witt st.witt at gmx.net
Mon Feb 15 09:08:45 UTC 2021

Am 15.02.2021 um 10:03 schrieb Jürgen Spitzmüller <spitz at lyx.org>:
> Am Montag, dem 15.02.2021 um 09:52 +0100 schrieb Stephan Witt:
>> I don’t understand. The direction isn’t stored in
>> setSearchRequestCache().
>> The direction is stripped. Probably that causes the trouble.
> It turned out the problem was the parsing of the search argument set
> forward to false by default (i.e., if it was not explicitly specified
> in the argument), whereas it should be true ("word-find foo" should
> find forwards, not backwards).
> I fixed this by introducing a way to set true as default for bool
> parser.

Yes, that’s not bad.

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

It’s a hot topic :)

Do you think we should have both patches? 

I think so, because then the LFUN_WORD_FIND doesn’t rely on internal defaults.


More information about the lyx-devel mailing list