Interface IMatcher

  • All Known Implementing Classes:
    MatchesTextArea

    public interface IMatcher
    Interface for access to editor functionality.
    • Method Detail

      • 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

        java.lang.String substituteNumbers​(java.lang.String source,
                                           java.lang.String sourceMatch,
                                           java.lang.String targetMatch)
      • setNextActiveMatch

        void setNextActiveMatch()
        Make the next match active
      • setPrevActiveMatch

        void setPrevActiveMatch()
        Make the previous match active