Constructor and Description |
---|
AceRange(int row1,
int col1,
int row2,
int col2) |
Modifier and Type | Method and Description |
---|---|
TransportDoc.TransportRange |
asTransport() |
boolean |
equals(Object o) |
static AceRange |
fromPositions(int start,
int end,
String text) |
static AceRange |
fromPositions(int start,
int end,
String[] lines) |
static AceRange |
fromTransport(TransportDoc.TransportRange tr) |
int |
getEndCol() |
int |
getEndRow() |
int[] |
getPositions(String text) |
int[] |
getPositions(String[] lines) |
int |
getStartCol() |
int |
getStartRow() |
int |
hashCode() |
boolean |
isBackwards() |
boolean |
isZeroLength() |
AceRange |
reversed() |
String |
toString() |
public int getStartRow()
public int getStartCol()
public int getEndRow()
public int getEndCol()
public int[] getPositions(String text)
public int[] getPositions(String[] lines)
public TransportDoc.TransportRange asTransport()
public boolean isBackwards()
public AceRange reversed()
public boolean isZeroLength()
public static AceRange fromTransport(TransportDoc.TransportRange tr)
Copyright © 2017 Magnolia International Ltd.. All rights reserved.