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:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function endOfLine(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function endOfParagraph(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function nextAtomPosition(flowRoot:flashx.textLayout.elements: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:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function nextLine(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function nextPage(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function nextWord(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function nextWordPosition(flowRoot:flashx.textLayout.elements: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:flashx.textLayout.elements: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:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function previousLine(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function previousPage(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function previousWord(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function previousWordPosition(flowRoot:flashx.textLayout.elements: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:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function startOfLine(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|
public static function startOfParagraph(range:flashx.textLayout.elements: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
Returns | Boolean — true if selection changed.
|