On Sat, Oct 13, 2018 at 11:34:04PM +0200, Kornel Benko wrote:

> The search time is O(n^2), n being the count of chars in a paragraph. Anyway, 
> I was able
> to restrict the search to paragraphs containing all the needed features.
> So, if the search contains something with German and bold, but the paragraph 
> does not,
> the search will not proceed on this paragraph.

That sounds like a nice improvement!

By the way, I compile with -Werror, which gives me this:

/home/scott/lyxbuilds/master/repo/src/lyxfind.cpp:1205:8: error: 
‘std::__cxx11::string lyx::{anonymous}::LangInfo::show(int)’ defined but not 
used [-Werror=unused-function]

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to