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

API: scripting
Project: Inno.Editor.Interactions
Scope: Editor

public void InnoEditor.Interactions.EditorInteractions.SelectRange(System.Collections.Generic.IReadOnlyList<InnoEngine.Core.RuntimeIdentity> orderedTargets, InnoEngine.Core.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.