| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
ScriptWorkspace.SelectLine
Selects a line in current script.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| ScriptWorkspace | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ScriptWorkspace.SelectLine"; Line { ; Scroll } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Line | The new line number. If negative, will be relative to end. |
10 | |
| Scroll | Whether to scroll to move row visible. | 1 | Optional |
Result
Returns OK or error.
Description
Selects a line in current script.Line number can be be negative to select a line relative to end of script.
See also
- ScriptWorkspace.IsActive
- ScriptWorkspace.ScrollToLine
- ScriptWorkspace.SelectedLine
- ScriptWorkspace.SelectedLines
- ScriptWorkspace.SelectGroup
- ScriptWorkspace.SelectLines
Release notes
- Version 10.0
- Fixed bug in ScriptWorkspace.SelectLines with negative row numbers.
- Version 9.0
- Added scroll parameter to ScriptWorkspace.SelectLine function.
Blog Entries
This function checks for a license.
Created 14th August 2017, last changed 20th December 2018