CurrentLine
Deprecated. Do not use in new code.
| Description: | Returns the text string that is the current line in an editor. |
| Returns: | Text |
Usage: ![]() |
Script or steady state. |
| Function Groups: | Editor |
| Related to: | AddEditorText | Editor | ForceEvent | GoToOffset | MakeEditor | SetEditMode |
Format: ![]() |
CurrentLine(Editor) |
| Parameters: |
| Editor |
| Required. Any expression that returns an editor value that was created by the MakeEditor function. If this isn't an editor type value, or if it is invalid, nothing happens. |
Example:
If ZButton(10, 40, 110, 10, "Copy", 1, 0); [ lineToCopy = CurrentLine(myEditor); ]
