Module jEdit

Class HyperSearchResult

java.lang.Object
org.gjt.sp.jedit.search.HyperSearchResult
All Implemented Interfaces:
HyperSearchNode

public class HyperSearchResult extends Object implements HyperSearchNode
A set of occurrences of the search string on a given line in a buffer.
Author:
Slava Pestov
  • Field Details

  • Method Details

    • getBuffer

      public Buffer getBuffer(View view)
      Specified by:
      getBuffer in interface HyperSearchNode
    • 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
    • goTo

      public void goTo(EditPane editPane)
      Specified by:
      goTo in interface HyperSearchNode
    • toString

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

      public boolean equals(Object compareObj)
      Overrides:
      equals in class Object