Synced
EditorInteractions.SelectRange
Section titled “EditorInteractions.SelectRange”
- Selects the inclusive visible range between the current anchor and the clicked target.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.Interactions.EditorInteractions.SelectRange(System.Collections.Generic.IReadOnlyList<InnoEngine.Core.RuntimeIdentity> orderedTargets, InnoEngine.Core.IdentityObject target, bool additive = false)Parameters
Section titled “Parameters”Parameter orderedTargets: Runtime identities in the current visible sort and filter order, resolved through Core Identity only when selected.
Parameter target: The clicked range endpoint, which becomes primary.
Parameter additive: Whether to preserve existing members outside the selected range.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The visible targets or endpoint is null.
Exception T:System.ArgumentException: The endpoint is not in the visible target order.
Exception T:System.InvalidOperationException: A range identity is unavailable; the current selection remains unchanged.