| java.lang.Object org.eclipse.ui.texteditor.FindReplaceTarget
FindReplaceTarget | class FindReplaceTarget implements IFindReplaceTarget,IFindReplaceTargetExtension,IFindReplaceTargetExtension2,IFindReplaceTargetExtension3(Code) | | Internal find/replace target wrapping the editor's source viewer.
since: 2.1 |
Method Summary | |
public void | beginSession() | public boolean | canPerformFind() | public void | endSession() | public int | findAndSelect(int offset, String findString, boolean searchForward, boolean caseSensitive, boolean wholeWord) | public int | findAndSelect(int offset, String findString, boolean searchForward, boolean caseSensitive, boolean wholeWord, boolean regExSearch) | public Point | getLineSelection() | public IRegion | getScope() | public Point | getSelection() | public String | getSelectionText() | public boolean | isEditable() | public void | replaceSelection(String text) | public void | replaceSelection(String text, boolean regExReplace) | public void | setReplaceAllMode(boolean replaceAll) | public void | setScope(IRegion scope) | public void | setScopeHighlightColor(Color color) | public void | setSelection(int offset, int length) | public boolean | validateTargetState() |
FindReplaceTarget | public FindReplaceTarget(AbstractTextEditor editor, IFindReplaceTarget target)(Code) | | Creates a new find/replace target.
Parameters: editor - the editor Parameters: target - the wrapped find/replace target |
beginSession | public void beginSession()(Code) | | |
canPerformFind | public boolean canPerformFind()(Code) | | |
endSession | public void endSession()(Code) | | |
findAndSelect | public int findAndSelect(int offset, String findString, boolean searchForward, boolean caseSensitive, boolean wholeWord)(Code) | | |
findAndSelect | public int findAndSelect(int offset, String findString, boolean searchForward, boolean caseSensitive, boolean wholeWord, boolean regExSearch)(Code) | | |
getLineSelection | public Point getLineSelection()(Code) | | |
getScope | public IRegion getScope()(Code) | | |
getSelection | public Point getSelection()(Code) | | |
isEditable | public boolean isEditable()(Code) | | |
replaceSelection | public void replaceSelection(String text)(Code) | | |
replaceSelection | public void replaceSelection(String text, boolean regExReplace)(Code) | | |
setReplaceAllMode | public void setReplaceAllMode(boolean replaceAll)(Code) | | |
setScope | public void setScope(IRegion scope)(Code) | | |
setScopeHighlightColor | public void setScopeHighlightColor(Color color)(Code) | | |
setSelection | public void setSelection(int offset, int length)(Code) | | |
validateTargetState | public boolean validateTargetState()(Code) | | |
|
|