public class LineCol
extends java.lang.Object
| Constructor and Description |
|---|
LineCol(int line) |
LineCol(int line,
int column) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static LineCol |
fromCaret(Editor editor) |
static LineCol |
fromOffset(Document document,
int offset) |
int |
hashCode() |
int |
toOffset(Document document) |
static int |
toOffset(Document document,
int line,
int col) |
static int |
toOffset(Document document,
LineCol linecol) |
int |
toOffset(Editor editor) |
java.lang.String |
toString() |
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static int toOffset(Document document, int line, int col)
public int toOffset(Document document)
public int toOffset(Editor editor)