public class TextSelection
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static TextSelection |
EMPTY
An empty selection
|
int |
length
The length
|
int |
offset
The offset
|
| Constructor and Description |
|---|
TextSelection(int offset,
int length)
Create a new selection
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public final int offset
public final int length
public static final TextSelection EMPTY