|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jface.text.FindReplaceDocumentAdapter
Provides search and replace operations on IDocument.
Replaces IDocument.search(int, String, boolean, boolean, boolean).
Constructor Summary | |
FindReplaceDocumentAdapter(IDocument document)
Constructs a new find replace document adapter. |
Method Summary | |
char | charAt(int index)
|
IRegion | find(int startOffset,
String findString,
boolean forwardSearch,
boolean caseSensitive,
boolean wholeWord,
boolean regExSearch)
Returns the location of a given string in this adapter's document based on a set of search criteria. |
int | length()
|
IRegion | replace(String text,
boolean regExReplace)
Substitutes the previous match with the given text. |
CharSequence | subSequence(int start,
int end)
|
String | toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FindReplaceDocumentAdapter(IDocument document)
Method Detail |
public IRegion find(int startOffset, String findString, boolean forwardSearch, boolean caseSensitive, boolean wholeWord, boolean regExSearch) throws BadLocationException
public IRegion replace(String text, boolean regExReplace) throws BadLocationException
public int length()
public char charAt(int index)
public CharSequence subSequence(int start, int end)
public String toString()
|
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.