Tommaso Cucinotta wrote: > I'm attempting a refactoring of these, but some feedback from the list would > be useful in terms of: > a) do we really need all of these LFUNs just to support simple search ?
I can imagine WORD_FIND_FORWARD being used by scripts through lyx server where dialog is not desirable. But that doesn't mean we couldn't have just a single intelligent LFUN. >From what I remember Vincent was thinking about converting simple dialog to >simpler one-line bar which would look like e.g. firefox search. You migh want >to check whether he had some code in hand. > d) if we allow for searching the currently selected text, as requested by > some users/tickets, I guess we should look at the selection when no args are > provided to the lfuns. Then, what priority do we give to: > i) LFUN arguments > ii) selected text > iii) cached search string and/or options Tend to agree with this sorting. Pavel