EvCharSpan Interface
The EvCharSpan TS interface defines a blueprint of a JS object that specifies a continuous range of characters in a text.
Properties
An EvCharSpan object has the following properties:
at: number;A number, the index of a character in a text from which the given range of characters begins. The index of the first character in the text is
0.optional count: number;A number, the number of characters in the given range of characters, including the first character specified in the
atproperty.A negative number indicates the last character (the end) of the text.
An empty range is defined with
0. It is used to indicate a position in the text, for example, to insert some text without replacing the existing content.The default value is
1, e.i., the character given in theatproperty.
Examples
{
at: 3,
count: 0
}
13 April 2025