Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
ScriptWorkspace.SelectLines
Selects lines in current script.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ScriptWorkspace | 9.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ScriptWorkspace.SelectLines"; Line1; Line2 ) More
Parameters
Parameter | Description | Example |
---|---|---|
Line1 | The first line number. If negative, will be relative to end. |
10 |
Line2 | The last line number. If negative, will be relative to end. |
15 |
Result
Returns OK or error.
Description
Selects lines in current script.Line number can be be negative to select a line relative to end of script.
Examples
Select rows 5 to 10:
MBS( "ScriptWorkspace.SelectLines"; 5; 10 )
Select last two lines:
MBS( "ScriptWorkspace.SelectLines"; -2; -1 )
See also
- ScriptWorkspace.IsActive
- ScriptWorkspace.ScriptNames
- ScriptWorkspace.ScriptPaths
- ScriptWorkspace.ScrollToLine
- ScriptWorkspace.SelectedLine
- ScriptWorkspace.SelectedLines
- ScriptWorkspace.SelectLine
Release notes
- Version 10.0
- Fixed bug in ScriptWorkspace.SelectLines with negative row numbers.
Blog Entries
This function checks for a license.
Created 20th December 2018, last changed 4th December 2019
