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

Bug 64532

Summary: "Replace All" does not respect "Selected Lines"
Product: [Eclipse Project] Platform Reporter: Anton Tagunov <atagunov>
Component: SearchAssignee: 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:

Description Anton Tagunov CLA 2004-05-28 08:15:23 EDT
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()
	{
		
	}
}
Comment 1 Thomas M??der CLA 2004-05-28 08:18:02 EDT
The is text find/replace
Comment 2 Tom Hofmann CLA 2004-05-28 08:38:18 EDT

*** This bug has been marked as a duplicate of 64040 ***
Comment 3 Dani Megert CLA 2004-05-28 08:39:41 EDT
*** This bug has been marked as a duplicate of 64040 ***

*** This bug has been marked as a duplicate of 64040 ***