Class AceRange
java.lang.Object
io.jmix.ui.widget.client.addon.aceeditor.AceRange
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TextRange
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static AceRange
fromPositions
(int start, int end, String text) static AceRange
fromPositions
(int start, int end, String[] lines) static AceRange
int
int
int[]
getPositions
(String text) int[]
getPositions
(String[] lines) int
int
int
hashCode()
boolean
boolean
reversed()
toString()
-
Constructor Details
-
AceRange
public AceRange(int row1, int col1, int row2, int col2)
-
-
Method Details
-
fromPositions
-
fromPositions
-
getStartRow
public int getStartRow() -
getStartCol
public int getStartCol() -
getEndRow
public int getEndRow() -
getEndCol
public int getEndCol() -
getPositions
-
getPositions
-
asTransport
-
equals
-
hashCode
public int hashCode() -
isBackwards
public boolean isBackwards() -
reversed
-
isZeroLength
public boolean isZeroLength() -
fromTransport
-
toString
-