Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

Release notes

Blog Entries

Created 20th December 2018, last changed 20th December 2018


ScriptWorkspace.ScriptsVisible - ScriptWorkspace.ScrollToSelection

Feedback: Report problem or ask question.