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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AceRangefromPositions(int start, int end, String text) static AceRangefromPositions(int start, int end, String[] lines) static AceRangeintintint[]getPositions(String text) int[]getPositions(String[] lines) intintinthashCode()booleanbooleanreversed()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
-