| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static Position | |
| public static Range | |
| public static Range | convertToLspRange(int
line starting at 1 line, int column starting at 1 colStart, int column starting at 1 colEnd)Returns: the LSP4J Range of the line and columns |
| public static Range | |
| public static boolean | |
| public static boolean | |
| public static int |
| LspRangeUtil | back to summary |
|---|---|
| public LspRangeUtil() | |
| comparePositions | back to summary |
|---|---|
| public static int comparePositions(Position p1, Position p2) | |
| convertToLspPosition | back to summary |
|---|---|
| public static Position convertToLspPosition(String content, int index) | |
| convertToLspRange | back to summary |
|---|---|
| public static Range convertToLspRange(Range range) | |
| convertToLspRange | back to summary |
|---|---|
public static Range convertToLspRange(int line, int colStart, int colEnd)
| |
| convertToLspRange | back to summary |
|---|---|
| public static Range convertToLspRange(String content, int startIndex, int endIndex) | |
| isPositionInRange | back to summary |
|---|---|
| public static boolean isPositionInRange(Position position, Range range) | |
| isRangeInRange | back to summary |
|---|---|
| public static boolean isRangeInRange(Range outer, Range inner) | |
| toOffset | back to summary |
|---|---|
| public static int toOffset(String content, Position pos) | |