/// <summary> /// Creates or returns existing options /// </summary> /// <param name="scope">Owner</param> /// <returns></returns> public abstract VSTE.IEditorOptions GetOptions(VSUTIL.IPropertyOwner scope);
public override VSTE.IEditorOptions GetOptions(VSUTIL.IPropertyOwner scope) { if (scope == null) throw new ArgumentNullException(nameof(scope)); return scope.Properties.GetOrCreateSingletonProperty(typeof(VSTE.IEditorOptions), () => new HexEditorOptions(this, HexGlobalOptions, scope)); }