|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Extension interface for IFindReplaceTarget.
Extends the find replace target's findAndSelect and replaceSelection methods to allow and be aware of regular expression find/replace.
Method Summary | |
int | findAndSelect(int offset,
String findString,
boolean searchForward,
boolean caseSensitive,
boolean wholeWord,
boolean regExSearch)
Searches for a string starting at the given offset and using the specified search directives. |
void | replaceSelection(String text,
boolean regExReplace)
Replaces the currently selected range of characters with the given text. |
Method Detail |
public int findAndSelect(int offset, String findString, boolean searchForward, boolean caseSensitive, boolean wholeWord, boolean regExSearch)
public void replaceSelection(String text, boolean regExReplace)
This target must be editable. Otherwise nothing happens.
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.