On Wed, Jan 07, 2004 at 01:30:02PM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > On Wed, Jan 07, 2004 at 01:00:53PM +0100, Andre' Poenitz wrote: > >> But should be re-added somehow... > > > > Incidently, where do I start? > > It depends on what we want.
I want real S&R in math. > > lyx::find seems to use insets only implicitly by using PosIterator, > > i.e. does not descend into math at all. > > Exactly. > > As a quick workaround, you can instruct MatchString to call some specific > math find function if there is a math inset in the position pointed to... > But I don't like it so much. It's not integrated with text search, we won't > be able to use a regex lib etc. > > What do we want exactly? Search inside math as latex? Would be a good starting point. Searching for real formulas would be better, of course, but that would involve something similar to a InsetText as 'search' field in the S&R dialog. I am not sure whether this is possible at all in the current scheme. [SWP does that and this is really nice.] [And note that being able to type arbitrary things in dialogs would help to rectify the math macro situation as well. I.e. 'supported' macros c/should be defined in the preamble...] > inside math text mode etc? Not just text. Full math. > Won't at some time in the future mathed include real insets for text? That's one of the goals of IU... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)