Method Summary |
|
public static String | escapeRegexp(String str, boolean multiline) Escapes characters with special meaning in a regexp. |
public static boolean | find(View view) Finds the next occurrence of the search string. |
public static boolean | find(View view, Buffer buffer, int start) Finds the next instance of the search string in the specified
buffer. |
public static boolean | find(View view, Buffer buffer, int start, boolean firstTime, boolean reverse) Finds the next instance of the search string in the specified
buffer. |
public static boolean | getAutoWrapAround() Returns the state of the auto wrap around flag. |
public static boolean | getBeanShellReplace() Returns the state of the BeanShell replace flag. |
public static boolean | getIgnoreCase() Returns the state of the ignore case flag. |
public static boolean | getRegexp() Returns the state of the regular expression flag. |
public static String | getReplaceString() Returns the current replacement string. |
public static boolean | getReverseSearch() Returns the state of the reverse search flag. |
public static SearchFileSet | getSearchFileSet() Returns the current search file set. |
public static SearchMatcher | getSearchMatcher() Returns the current search string matcher. |
public static String | getSearchString() Returns the current search string. |
public static boolean | getSmartCaseReplace() Returns if the replacement string will assume the same case as
each specific occurrence of the search string. |
static void | handleError(Component comp, Exception e) |
public static boolean | hyperSearch(View view) Performs a HyperSearch. |
public static boolean | hyperSearch(View view, boolean selection) Performs a HyperSearch. |
public static void | load() Loads search and replace state from the properties. |
public static boolean | replace(View view) Replaces the current selection with the replacement string. |
public static boolean | replace(View view, Buffer buffer, int start, int end) Replaces text in the specified range with the replacement string. |
public static boolean | replaceAll(View view) Replaces all occurrences of the search string with the replacement
string. |
public static boolean | replaceAll(View view, boolean dontOpenChangedFiles) Replaces all occurrences of the search string with the replacement
string. |
public static void | save() Saves search and replace state to the properties. |
public static void | setAutoWrapAround(boolean wrap) Sets the state of the auto wrap around flag. |
public static void | setBeanShellReplace(boolean beanshell) Sets the state of the BeanShell replace flag. |
public static void | setIgnoreCase(boolean ignoreCase) Sets the ignore case flag. |
public static void | setRegexp(boolean regexp) Sets the state of the regular expression flag. |
public static void | setReplaceString(String replace) Sets the current replacement string. |
public static void | setReverseSearch(boolean reverse) Determines whether a reverse search will conducted from the current
position to the beginning of a buffer. |
public static void | setSearchFileSet(SearchFileSet fileset) Sets the current search file set. |
public static void | setSearchMatcher(SearchMatcher matcher) Sets a custom search string matcher. |
public static void | setSearchString(String search) Sets the current search string. |