https://bugs.documentfoundation.org/show_bug.cgi?id=135538

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #27 from Justin L <[email protected]> ---
Comment 26's patch solves the general case requested by OP.

Caveats:
- can't do a normal replace (as already explained in comment 25)
- no visual indicator / blinking cursor while dialog has focus, so hard to see
that the search has succeeded.
  - also true for comment 23's beginning of paragraph patch
- gets stuck after the first 'Find next'
  - known case of 'start of paragraph' handled specifically to avoid this.
  - I have no idea how to avoid this in the generic case.

Ultimately this zero-match search is only of value for Replace-All, and
Find-All.

But I figured that even with the caveats, it is better to 'work a little bit'
than to just say we can't find the search.

With that, I think this bug report can be resolved as FIXED, although further
patches to improve the caveats are welcome.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to