Package org.gjt.sp.jedit.search
Class HyperSearchResult
- java.lang.Object
-
- org.gjt.sp.jedit.search.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
HyperSearchResult.GotoDelayed
class
HyperSearchResult.Occur
-
Field Summary
Fields Modifier and Type Field Description Buffer
buffer
int
line
HyperSearchResult.Occur
occur
int
occurCount
java.lang.String
path
java.lang.String
str
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object compareObj)
Buffer
getBuffer(View view)
Selection[]
getSelection()
Returns an array of selection objects pointing to the occurrences of the search term on the current line.void
goTo(EditPane editPane)
java.lang.String
toString()
-
-
-
Field Detail
-
path
public java.lang.String path
-
buffer
public Buffer buffer
-
line
public int line
-
str
public java.lang.String str
-
occur
public HyperSearchResult.Occur occur
-
occurCount
public int occurCount
-
-
Method Detail
-
getBuffer
public Buffer getBuffer(View view)
- Specified by:
getBuffer
in interfaceHyperSearchNode
-
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 interfaceHyperSearchNode
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object compareObj)
- Overrides:
equals
in classjava.lang.Object
-
-