Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
A Token is an occurrence of a word in a block of text. It consists of the start and end offset of the word in the block of text.
The start and end offsets permit applications to re-associate a token with its source text, e.g., to display highlighted misspelled word in
a block of text.
first:int
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
Return the start offset in the source text.
Implementation public function get first():int
public function set first(value:int):void
last:int
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
Return the end offset in the source text.
Implementation public function get last():int
public function set last(value:int):void
public function Token(inFirst:int, inLast:int)
Language Version : | ActionScript 3.0 |
Runtime Versions : | AIR 1.0, Flash Player 10 |
The Token class.
Constructs a Token with first and last offsets. .
Parameters | inFirst:int — A int type input to point start offset in the source text.
|
|
| inLast:int — A int type input to point end offset in the source text.
|
Fri Oct 24 2014, 03:33 PM +11:00