Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Selects the inclusive visible range between the current anchor and the clicked target.

API: engine
Project: Inno.Editor.Interactions

public void Inno.Editor.Interactions.EditorInteractions.SelectRange(System.Collections.Generic.IReadOnlyList<Inno.Core.Identity.RuntimeIdentity> orderedTargets, Inno.Core.Identity.IdentityObject target, bool additive = false)

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.

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.