GoToOffset

            Deprecated

Description:              This function forces an editor to move to a location in its text.

Returns:                    None

Usage:                       Script or Steady State

Format:                      GoToOffset(Editor, Offset, Highlight, NumHighlight)

Parameters:             Editor     { Editor }  { required }  { no default }

                                              Any expression for the editor value.

                                    Offset     { numeric }  { required }  { no default }

                                              Any numeric expression for the character offset to display.

                                    Highlight     { Boolean }  { required }  { no default }

                                              Any logical expression. If true, characters will automatically be highlighted, beginning at Offset.

                                    NumHighlight     { numeric }  { required }  { no default }

                                              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 }); 

See Also:

AddEditorText | CurrentLine | Editor | ForceEvent | MakeEditor | SetEditMode