Package org.omegat.gui.matches
Interface IMatcher
- All Known Implementing Classes:
MatchesTextArea
public interface IMatcher
Interface for access to editor functionality.
-
Method Summary
Modifier and TypeMethodDescriptionGet selected match.voidsetActiveMatch(int index) Set specified mathc as active.voidMake the next match activevoidMake the previous match activesubstituteNumbers(String source, String sourceMatch, String targetMatch)
-
Method Details
-
getActiveMatch
NearString getActiveMatch()Get selected match. Must be called from UI thread only. -
setActiveMatch
void setActiveMatch(int index) Set specified mathc as active.- Parameters:
index- new active match Must be called from UI thread only.
-
substituteNumbers
-
setNextActiveMatch
void setNextActiveMatch()Make the next match active -
setPrevActiveMatch
void setPrevActiveMatch()Make the previous match active
-