This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 19680 - Find and Replace with RegEx
Summary: Find and Replace with RegEx
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Search (show other bugs)
Version: 3.x
Hardware: All Windows ME/2000
: P3 blocker with 5 votes (vote)
Assignee: issues@editor
URL:
Keywords:
: 36953 40963 (view as bug list)
Depends on:
Blocks: 26810 51964
  Show dependency tree
 
Reported: 2002-01-22 20:54 UTC by Robert S. Sfeir
Modified: 2007-11-05 13:42 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert S. Sfeir 2002-01-22 20:54:18 UTC
I really see a need for Find and Replace with RegEx at all levels in the Editor.
 Further, the find and replace fields are just too small.  I would love to see
something BBEdit style.  Nice big Text Area boxes with find and replace in the
document, across all open docs, and across a project.
Comment 1 Marek Grummich 2002-07-22 10:00:22 UTC
Set target milestone to TBD
Comment 2 Marek Grummich 2002-07-22 10:05:16 UTC
Set target milestone to TBD
Comment 3 jbisotti 2003-08-04 17:40:11 UTC
Regular expression find/replace (single file & globally) is a very
useful feature, common in other editors.  This missing feature is a
major editor deficiency IMHO.  Visual Slick Edit is very nice in this
regard and should be consulted as a reference.  This Issue has been
open for more than a year now and should be addressed in the near future.
Comment 4 psuk 2004-03-19 12:43:35 UTC
*** Issue 36953 has been marked as a duplicate of this issue. ***
Comment 5 psuk 2004-03-19 12:45:41 UTC
*** Issue 40963 has been marked as a duplicate of this issue. ***
Comment 6 psuk 2004-03-19 12:48:05 UTC
Copy additional info from Issue 40963

This issue is a superset of issue #26810.

This will allow us to replace tabs, newlines or
any other combinations we can dream of. Other
editors support this and it works quite well.



------- Additional Comments From Gili Tzabari 2004-03-12 08:28 PST -------

I should point out that the file-system FIND operation already
supports searching for regular expressions so reusing that code in the
editor should be rather easy. Their UI is pretty decent as well.



------- Additional Comments From Gili Tzabari 2004-03-12 08:28 PST -------

One other approach (used by TextPad, another editor) is that you have
a single SEARCH/REPLACE UI with a checkbox that reads "regular
expression" and when enabled, both source/target strings are assumed
to be regular expressions.
Comment 7 psuk 2004-03-23 18:18:15 UTC
Changing subcomponent to "search"
Comment 8 Martin Roskanin 2005-01-03 14:58:29 UTC
implemented in [maintrunk]

/cvs/editor/libsrc/org/netbeans/editor/BaseSettingsInitializer.java,v
 <--  BaseSettingsInitializer.java
new revision: 1.24; previous revision: 1.23

/cvs/editor/libsrc/org/netbeans/editor/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.53; previous revision: 1.52

/cvs/editor/libsrc/org/netbeans/editor/DocumentFinder.java,v  <-- 
DocumentFinder.java
initial revision: 1.1

/cvs/editor/libsrc/org/netbeans/editor/DrawLayerFactory.java,v  <-- 
DrawLayerFactory.java
new revision: 1.43; previous revision: 1.42

/cvs/editor/libsrc/org/netbeans/editor/FindSupport.java,v  <-- 
FindSupport.java
new revision: 1.61; previous revision: 1.60

/cvs/editor/libsrc/org/netbeans/editor/SettingsDefaults.java,v  <-- 
SettingsDefaults.java
new revision: 1.45; previous revision: 1.44

/cvs/editor/libsrc/org/netbeans/editor/SettingsNames.java,v  <-- 
SettingsNames.java
new revision: 1.17; previous revision: 1.16

/cvs/editor/libsrc/org/netbeans/editor/ext/FindDialogPanel.form,v  <--
 FindDialogPanel.form
new revision: 1.9; previous revision: 1.8

/cvs/editor/libsrc/org/netbeans/editor/ext/FindDialogPanel.java,v  <--
 FindDialogPanel.java
new revision: 1.12; previous revision: 1.11

/cvs/editor/libsrc/org/netbeans/editor/ext/FindDialogSupport.java,v 
<--  FindDialogSupport.java
new revision: 1.54; previous revision: 1.53

/cvs/editor/src/org/netbeans/modules/editor/options/BaseOptions.java,v
 <--  BaseOptions.java
new revision: 1.98; previous revision: 1.97

/cvs/editor/src/org/netbeans/modules/editor/options/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.76; previous revision: 1.75