TextSpan class
TextSpan class
Represents the text span.
The TextSpan type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Create the TextSpan |
init | Constructs a new instance of TextSpan |
Properties
Property | Description |
---|---|
start | Get the Start index. |
end | Get the End index. |
length | Get the length. |
Methods
Method | Description |
---|---|
create_empty | Create the empty text span. |
create_empty | Create empty TextSpan from start position. |
is_empty | Return true if length ==0. |
combine | Combines the text spans |
create | Create the TextSpan |
create_from_start_end | Create the TextSpan |
compare_to | Compare with other TextSpan |
equals | Compare with other TextSpan |