FileLocation
, Location
@Incubating public interface LineInFileLocation extends FileLocation
The line and column coordinates are one-indexed so that they can be easily matched to the content of a UI editor interface.
Modifier and Type | Method | Description |
---|---|---|
int |
getColumn() |
The starting column on the selected line.
|
int |
getLength() |
The length of the selected content starting from specified column.
|
int |
getLine() |
The line number within the file.
|
getPath
int getLine()
The line is one-indexed, i.e. the first line in the file is line number 1.
int getColumn()
The column is one-indexed, i.e. the first column in the file is column number 1. A non-positive value indicates that the column information is not available.
int getLength()