de.tobiasbudde.regedit.reg
Class RegExpSearcher
java.lang.Object
de.tobiasbudde.regedit.reg.RegExpSearcher
public class RegExpSearcher
- extends java.lang.Object
Constructor Summary |
RegExpSearcher(javax.swing.text.JTextComponent sourceText,
javax.swing.JTextField searchPattern,
javax.swing.JCheckBox caseInensitive,
javax.swing.JCheckBox dotAll,
javax.swing.JCheckBox multiLine,
RegularListener regTrans)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sourceText
protected javax.swing.text.JTextComponent sourceText
searchPattern
protected javax.swing.JTextField searchPattern
caseInsensitive
protected javax.swing.JCheckBox caseInsensitive
dotAll
protected javax.swing.JCheckBox dotAll
multiLine
protected javax.swing.JCheckBox multiLine
RegExpSearcher
public RegExpSearcher(javax.swing.text.JTextComponent sourceText,
javax.swing.JTextField searchPattern,
javax.swing.JCheckBox caseInensitive,
javax.swing.JCheckBox dotAll,
javax.swing.JCheckBox multiLine,
RegularListener regTrans)
search
public void search()
- If the entered Pattern is not empty:
Search for a word and return the offset of the
first occurrence. Highlights are added for all
occurrences found.
getResults
public MatchResult getResults()
getSearchConfiguration
public SearchConfiguration getSearchConfiguration()
makeGreedy
public void makeGreedy()
makeReluctant
public void makeReluctant()
Copyright © 2008 tobiasbudde.de. All Rights Reserved.