If format search is enabled, we have now about 30 different attributes to consider.
ATM, one has to specify exactly that in the pattern which attributes are searched for. Unfortunately, if the searched string would match, but the matched data has more attributes set, the match fails. For instance we search for bold text, the pattern would be \texbf{\regexp{[a-z]+\endregexp{}}} and the examined line contains \textbf{\textit{This is bold and italic}} the match fails. I have a patch ready which does following 1.) examine the pattern for all attributes and mark each found attribute 2.) select all attributes NOT FOUND in pattern to be ignored by subsequent comparisons This feels to be a better choice to me. Now searching for all strings written in English (for instance in de/Additional.lyx) finds also strings in italic, or bold or whatever. Of course, all attributes in pattern have to be also in the matched string. There is one glitch though: The language is always one of the used attributes because it is set on each pattern. (In reality the first pattern-example is \foreignlanguage{ngerman}{\texbf{\regexp{[a-z]+\endregexp{}}}} ) (Having a GUI for selection of which attribute to ignore or not would be better, but designing and programming such a dialog is not my strength) Opinions please. Kornel
signature.asc
Description: This is a digitally signed message part.