Class HyperSearchResult

  • All Implemented Interfaces:
    HyperSearchNode

    public class HyperSearchResult
    extends java.lang.Object
    implements HyperSearchNode
    A set of occurrences of the search string on a given line in a buffer.
    • Field Detail

      • path

        public java.lang.String path
      • buffer

        public Buffer buffer
      • line

        public int line
      • str

        public java.lang.String str
      • occurCount

        public int occurCount
    • Method Detail

      • getSelection

        public Selection[] getSelection()
        Returns an array of selection objects pointing to the occurrences of the search term on the current line. The buffer must be opened first.
        Since:
        jEdit 4.2pre5
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object compareObj)
        Overrides:
        equals in class java.lang.Object