Mathias Bauer wrote:
Hi lijian,

lijian schrieb:

(4) http://qa.openoffice.org/issues/show_bug.cgi?id=56449 ("Find&Replace
in selection replaces whole selection with replacement string")
After reading these issues for some time, we want to so some contribution to issue 56449 first.
Any suggestions form you or anybody else?

Thank you!

Best regards,
Li Jian

as Oliver (Specht) is the current issue owner I think that he is the
right one to give suggestions.

Hi,
the problem is fairly simple the solution is not that simple.
The Writer has one selection. Searching in a selection results in a change of exactly that selection. A repeated 'search in selection' will now search in _that_ selection and not find anything new. I don't see a quick solution for this problem. Search & replace can be done with or without dialog and between an execution of 'search in selection' the user might change the selection.

Possibly the 'search in selection' should save the initial selection to be able to restore that (shortened by the first result) when called again. The saved selection has to be invalidated with each user change to the current selection.

Regards,

Oliver

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to