| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
ScriptWorkspace.ScrollToLine
Scrolls to line to make it visible.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| ScriptWorkspace | 9.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ScriptWorkspace.ScrollToLine"; Line ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Line | The new line number. If negative, will be relative to end. |
10 |
Result
Returns OK or error.
Description
Scrolls to line to make it visible.Line number can be be negative to select a line relative to end of script.
Examples
Scrolls to last line:
MBS( "ScriptWorkspace.ScrollToLine"; -1 )
See also
- ScriptWorkspace.ScrollToSelection
- ScriptWorkspace.SelectedLine
- ScriptWorkspace.SelectedLines
- ScriptWorkspace.SelectLine
- ScriptWorkspace.SelectLines
Release notes
- Version 9.0
- Added ScriptWorkspace.ScrollToLine and ScriptWorkspace.ScrollToSelection functions.
Blog Entries
This function checks for a license.
Created 20th December 2018, last changed 20th December 2018
ScriptWorkspace.ScriptsVisible - ScriptWorkspace.ScrollToSelection