Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 333084

Summary: [find/replace] 'Replace All' does not respect Option Wrap Search
Product: [Eclipse Project] Platform Reporter: Daniel Stein <daniel.stein>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, paul.nickels
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Daniel Stein CLA 2010-12-22 07:57:17 EST
Build Identifier:  20100917-0705

The FindReplaceDialog offers several actions: Find, Replace/Find, Replace and Replace All. All respects the options in the Group "Options" above, except the action "Replace all"

In our opinion the action should respect this option, because the option "wrap search" is grouped together with other options that are respected by the action...

We think that the behavior of the dialog changed with the solution of Bug 285821.

Reproducible: Always
Comment 1 Dani Megert CLA 2010-12-22 08:51:12 EST
>We think that the behavior of the dialog changed with the solution of Bug #
>285821.
Correct and this was on purpose, since "all" means "all".
Comment 2 Daniel Stein CLA 2010-12-22 09:32:08 EST
(In reply to comment #1)
> >We think that the behavior of the dialog changed with the solution of Bug #
> >285821.
> Correct and this was on purpose, since "all" means "all".

But how is it posible to replace all occurrence of a string from coursor-position to the end of the document in one step.
Comment 3 Dani Megert CLA 2010-12-22 09:41:04 EST
(In reply to comment #2)
> (In reply to comment #1)
> > >We think that the behavior of the dialog changed with the solution of Bug #
> > >285821.
> > Correct and this was on purpose, since "all" means "all".
> 
> But how is it posible to replace all occurrence of a string from
> coursor-position to the end of the document in one step.

Either select the text or disable wrap.