Package | feathers.utils.text |
Class | public class TextInputNavigation |
Inheritance | TextInputNavigation ![]() |
Method | Defined By | ||
---|---|---|---|
findNextWordStartIndex(text:String, selectionEndIndex:int):int [static]
Finds the start index of the next word that starts after the
selection. | TextInputNavigation | ||
findPreviousWordStartIndex(text:String, selectionStartIndex:int):int [static]
Finds the start index of the word that starts before the selection. | TextInputNavigation |
findNextWordStartIndex | () | method |
public static function findNextWordStartIndex(text:String, selectionEndIndex:int):int
Finds the start index of the next word that starts after the selection.
Parameters
text:String | |
selectionEndIndex:int |
int |
findPreviousWordStartIndex | () | method |
public static function findPreviousWordStartIndex(text:String, selectionStartIndex:int):int
Finds the start index of the word that starts before the selection.
Parameters
text:String | |
selectionStartIndex:int |
int |