Andre Poenitz wrote:

> On Sun, Nov 09, 2003 at 04:55:08PM +0100, Alfredo Braunstein wrote:
>> With the attached patch, I am able to obtain the attached screenshot
>> (without cheating, that is).
>> 
>> Of course, everything blows up (at selection displaying time) if the
>> start and end of the match are not on the same document level, this
>> breaks up replace, backward searches and a few other useful things but...
>> isn't it cute?
> 
> Good stuff ;-)

Thank John Maddock ;-)

In fact, I think we can easily put together some working version of this for
1.4.x. (possibly with a checkbox disabling replace and backward(*) search
for regex searches). The only undefined corners are: what to do with
selections ending in different levels (possibly eat the insets in the
selection. Maybe in the future LyX will support this type of
selections...), and what syntax to use for searching insets types etc...

In any case, I personally want to focus in helping with core
changes/regression fixing for the moment.

(*) even if it's not directly supported in the boost library, I think it's
not that hard, it would suffice to revert the regex expression, and revert
the iterators...

Regards, Alfredo


Reply via email to