| Summary: | "Replace All" does not respect "Selected Lines" | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Anton Tagunov <atagunov> |
| Component: | Search | Assignee: | Platform-Text-Inbox <platform-text-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
| Whiteboard: | |||
The is text find/replace *** This bug has been marked as a duplicate of 64040 *** |
Steps: 1. Create new class A public class A { void a1() { } void a2() { } } 2. Select all of method a1() 3. Ctrl+F 4. Find="a" Replace With="b" Direction=Forward, Scope=Selected Lines, Options=Case Sensitive 5. Press "Replace All" What I see: the resuting class is public class A { void b1() { } void b2() { } } What I expect to see: as "Selected Lines" option was activated for scope I expect method a2() to remain as it was, namely I expect the class to be public class A { void b1() { } void a2() { } }