public class Search
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
findPattern |
static boolean |
ignoreCase |
static SearchMatcher |
matcher |
static java.lang.String |
pythonScript |
static java.lang.String |
replacePattern |
static boolean |
reverseSearch |
static boolean |
script |
static boolean |
useRegexp |
Constructor and Description |
---|
Search() |
Modifier and Type | Method and Description |
---|---|
static boolean |
find(JextTextArea textArea,
int start) |
static java.lang.String |
getFindPattern() |
static boolean |
getIgnoreCase() |
static boolean |
getPythonScript() |
static java.lang.String |
getPythonScriptString() |
static boolean |
getRegexp() |
static java.lang.String |
getReplacePattern() |
static SearchMatcher |
getSearchMatcher() |
static SearchMatcher |
getSearchMatcher(boolean reverseOK) |
static void |
load() |
static boolean |
replace(JextTextArea textArea) |
static int |
replaceAll(JextTextArea textArea,
int start,
int end) |
static void |
save() |
static void |
setFindPattern(java.lang.String findPattern) |
static void |
setIgnoreCase(boolean icase) |
static void |
setPythonScript(boolean script) |
static void |
setPythonScriptString(java.lang.String pythonScript) |
static void |
setRegexp(boolean useRegexp) |
static void |
setReplacePattern(java.lang.String replacePattern) |
public static SearchMatcher matcher
public static java.lang.String replacePattern
public static java.lang.String findPattern
public static java.lang.String pythonScript
public static boolean useRegexp
public static boolean ignoreCase
public static boolean script
public static boolean reverseSearch
public static void load()
public static void save()
public static java.lang.String getPythonScriptString()
public static void setPythonScriptString(java.lang.String pythonScript)
public static boolean getPythonScript()
public static void setPythonScript(boolean script)
public static boolean getRegexp()
public static void setRegexp(boolean useRegexp)
public static boolean getIgnoreCase()
public static void setIgnoreCase(boolean icase)
public static void setFindPattern(java.lang.String findPattern)
public static java.lang.String getFindPattern()
public static void setReplacePattern(java.lang.String replacePattern)
public static java.lang.String getReplacePattern()
public static SearchMatcher getSearchMatcher() throws java.lang.Exception
java.lang.Exception
public static SearchMatcher getSearchMatcher(boolean reverseOK) throws java.lang.Exception
java.lang.Exception
public static boolean find(JextTextArea textArea, int start) throws java.lang.Exception
java.lang.Exception
public static boolean replace(JextTextArea textArea)
public static int replaceAll(JextTextArea textArea, int start, int end) throws java.lang.Exception
java.lang.Exception
Copyright ? 2002 Romain Guy.