Synced
EditorSettings.Apply
Section titled “EditorSettings.Apply”
- Atomically applies staged field objects as one shared Undo and Redo history entry.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Settings
Scope: Editor
Declaration
Section titled “Declaration”public bool InnoEditor.Settings.EditorSettings.Apply(System.Collections.Generic.IReadOnlyDictionary<string, InnoEditor.Settings.EditorSettingObject> values, System.Collections.Generic.IReadOnlySet<string>? resets = null)Parameters
Section titled “Parameters”Parameter values: The complete or partial path-addressed objects to apply from the active catalog.
Parameter resets: Optional paths whose persisted overrides are removed during the same Apply.
Returns
Section titled “Returns”true when the persisted document changed and one history entry was recorded.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when values is null or contains a null object.
Exception T:System.ArgumentException: Thrown when a supplied path is invalid, absent, or describes a page.
Exception T:System.IO.IOException: Thrown when the project-root document or its history payload cannot be written.
Exception T:System.UnauthorizedAccessException: Thrown when the project-root document is inaccessible.