Synced
EditorInteractions.SetSelection
Section titled “EditorInteractions.SetSelection”
- Replaces the ordered selection; duplicates are removed and the final target becomes primary.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Interactions
Declaration
Section titled “Declaration”public void Inno.Editor.Interactions.EditorInteractions.SetSelection(System.Collections.Generic.IEnumerable<Inno.Core.Identity.IdentityObject> targets, Inno.Core.Identity.IdentityObject? anchor)Parameters
Section titled “Parameters”Parameter targets: Registered objects resolved for the current callback.
Parameter anchor: The range anchor, or null to use the first selected target.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The target collection or one member is null.
Exception T:System.InvalidOperationException: A target has no live identity registration.