GoToOffset
Deprecated. Do not use in new code.
| Description: | Forces an editor to move to a location in its text. |
| Returns: | None |
Usage: ![]() |
Script or steady state. |
| Function Groups: | Editor |
| Related to: | AddEditorText | CurrentLine | Editor | ForceEvent | MakeEditor | SetEditMode |
Format: ![]() |
GoToOffset(Editor, Offset, Highlight, NumHighlight) |
| Parameters: |
| Editor |
| Required. Any expression for the editor value. |
| Offset |
| Required. Any numeric expression for the character offset to display. |
| Highlight |
| Required. Any logical expression. If true, characters will automatically be highlighted, beginning at Offset. |
| NumHighlight |
| Required. Any numeric expression for the number of characters to highlight if Highlight is true. |
Example:
myEditor = MakeEditor() { Create the editor };
...
GoToOffset(myEditor { Which editor to use },
100 { Move to an offset of 100 bytes },
1 { Highlight characters at new offset },
10 { Highlight 10 characters });
