Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Utilities for manipulating a TextRange
The methods of this class are static and must be called using
the syntax
NavigationUtil.method(parameter)
.
public static function endOfDocument(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange at the end of the document.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function endOfLine(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange at the end of the line.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function endOfParagraph(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange at the end of the paragraph.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function nextAtomPosition(flowRoot:TextFlow, absolutePos:int):int
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Returns the absolute position of the next atom.
Parameters
Returns public static function nextCharacter(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange forward by one character.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function nextLine(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange down one line
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function nextPage(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange down one page.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function nextWord(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange forward by one word.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function nextWordPosition(flowRoot:TextFlow, absolutePos:int):int
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Returns the absolute position of the beginning of the next word.
Parameters
Returns public static function previousAtomPosition(flowRoot:TextFlow, absolutePos:int):int
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Returns the absolute position of the previous atom.
Parameters
Returns public static function previousCharacter(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange backward by one character.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function previousLine(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange up one line.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function previousPage(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange up one page.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function previousWord(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange backward by one word.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function previousWordPosition(flowRoot:TextFlow, absolutePos:int):int
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Returns absolute position of the beginning of the previous word.
Parameters
Returns public static function startOfDocument(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange at the beginning of the document.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function startOfLine(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange at the beginning of the line.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
public static function startOfParagraph(range:TextRange, extendSelection:Boolean = false):Boolean
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 10, AIR 1.5 |
Sets the TextRange at the beginning of the paragraph.
Parameters
| range:TextRange — Indicates that only activeIndex should move
|
|
| extendSelection:Boolean (default = false )
|
Returns | Boolean — true if selection changed.
|
Wed Nov 15 2017, 09:50 AM +01:00