Bug 222538

Summary: [find/replace] Offer multi-line entry fields
Product: [Eclipse Project] Platform Reporter: Kevin Fleischer <kuv02>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: martinae
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kevin Fleischer CLA 2008-03-13 06:15:20 EDT
Add a possibility to find and replace multiple line strings.

i.e.: You have 5 places with this lines of Code

} catch (RuntimeException re) {
	log.error("persist failed", re);
	throw re;
};


And you whant all 5 places look like this:
} catch (RuntimeException re) {
	log.error("persist failed", re);
	throw re;
} finally {
	session.close();
};


An implementation could consist of an 4-5 line high scrollable textbox for the search and replace pattern. Maybe this filds should be inserted in the "Find/Replace" mask on demand (if a checkbox "multiline search" is checked).

This wish could not be substituted by a regex search, because most people can not construct (complex) regex at all.
Comment 1 Dani Megert CLA 2008-03-13 06:43:22 EDT
Note that you can find and replace over more than one line using regex.
Comment 2 Eclipse Webmaster CLA 2019-09-06 15:31:44 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.