| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
ScriptWorkspace.SelectedLines
Queries selected line numbers.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| ScriptWorkspace | 10.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
MBS( "ScriptWorkspace.SelectedLines" { ; Ranges } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Ranges | Whether to return list with ranges. Pass 1 for ranges or 0 for just line numbers. |
1 | Optional |
Result
Returns list or error.
Description
Queries selected line numbers.If ranges is 1, we return ranges like "3-5¶7¶10-12", otherwise we return "3¶4¶5¶7¶10¶11¶12".
See also
- ScriptWorkspace.ScrollToLine
- ScriptWorkspace.SelectedLine
- ScriptWorkspace.SelectGroup
- ScriptWorkspace.SelectLine
- ScriptWorkspace.SelectLines
Release notes
- Version 10.0
- Added ScriptWorkspace.SelectedLines function.
Blog Entries
This function checks for a license.
Created 4th December 2019, last changed 4th December 2019
ScriptWorkspace.SelectedLine - ScriptWorkspace.SetBackgroundColor