TerminalSearchHit class

Represents one search hit

Constructors

TerminalSearchHit.new(int startLineIndex, int startIndex, int endLineIndex, int endIndex)

Properties

endIndex int
index of the hit end inside the end line
final
endLineIndex int
index of the line where the hit starts
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startIndex int
index of the hit start inside the start line
final
startLineIndex int
index of the line where the hit starts
final

Methods

contains(int line, int col) bool
checks if the given cell (line / col) is contained in this hit
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited