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: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public void Inno.Editor.Interactions.EditorInteractions.SelectRange(System.Collections.Generic.IReadOnlyList<Inno.Core.Identity.RuntimeIdentity> orderedTargets, Inno.Core.Identity.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.