public final class LineRegion
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
LinePosition |
end |
LinePosition |
start |
java.lang.String |
text |
| Constructor and Description |
|---|
LineRegion(LinePosition start,
LinePosition end,
java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
static LineRegion |
between(org.eclipse.jface.text.IDocument document,
int top,
int bottom) |
static LineRegion |
between(org.eclipse.jface.text.IDocument document,
int top,
int bottom,
java.lang.String text) |
static LineRegion |
compute(org.eclipse.jface.text.IDocument document,
int offset,
int length) |
static LineRegion |
compute(org.eclipse.jface.text.IDocument document,
int offset,
int length,
java.lang.String text) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
LineRegion |
normalize() |
java.lang.String |
toString() |
public final LinePosition start
public final LinePosition end
public final java.lang.String text
public LineRegion(LinePosition start, LinePosition end, java.lang.String text)
public static LineRegion compute(org.eclipse.jface.text.IDocument document, int offset, int length)
public static LineRegion compute(org.eclipse.jface.text.IDocument document, int offset, int length, java.lang.String text)
public static LineRegion between(org.eclipse.jface.text.IDocument document, int top, int bottom)
public static LineRegion between(org.eclipse.jface.text.IDocument document, int top, int bottom, java.lang.String text)
public LineRegion normalize()
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.Object