| Package | Description |
|---|---|
| se.l4.lect.location | |
| se.l4.lect.text |
| Modifier and Type | Class and Description |
|---|---|
class |
MutableTextOffsetLocation
Mutable
TextOffsetLocation for use in cases where both offset, line
and column is important. |
| Modifier and Type | Method and Description |
|---|---|
TextOffsetLocation |
TextOffsetLocation.copy()
Copy this location.
|
TextOffsetLocation |
TextOffsetLocation.moveTextIndex(CharSequence sequence)
Move the text index according to the given sequence of characters.
|
TextOffsetLocation |
TextOffsetLocation.moveTextIndex(CharSequence sequence,
int offset,
int length)
Move the text index according to the given sequence of characters.
|
TextOffsetLocation |
TextOffsetLocation.moveTo(int offset,
int line,
int column)
Move the offset, line and column of this location, returning either
itself if mutable or a copy if this instance is immutable.
|
| Modifier and Type | Method and Description |
|---|---|
TextOffsetLocation |
OffsetTrackingReader.offsetToLocation(int offset)
Resolve the
MutableTextOffsetLocation of a character offset. |
| Modifier and Type | Method and Description |
|---|---|
void |
OffsetTrackingReader.offsetToLocation(int offset,
TextOffsetLocation target)
Resolve the
MutableTextOffsetLocation of a character offset and
store it in the given target. |
Copyright © 2018. All rights reserved.