Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Replaces the ordered selection; duplicates are removed and the final target becomes primary.

API: engine
Project: Inno.Editor.Interactions

public void Inno.Editor.Interactions.EditorInteractions.SetSelection(System.Collections.Generic.IEnumerable<Inno.Core.Identity.IdentityObject> targets, Inno.Core.Identity.IdentityObject? anchor)

Parameter targets: Registered objects resolved for the current callback.

Parameter anchor: The range anchor, or null to use the first selected target.

Exception T:System.ArgumentNullException: The target collection or one member is null.

Exception T:System.InvalidOperationException: A target has no live identity registration.