Table of Contents

Class WindowsLegacyIndenterRegistry

Namespace
RDCore.SDK.Formatting
Assembly
RDCore.SDK.dll

Where the legacy Smart Indenter kept its settings: the Windows Registry, which only Windows has.

public sealed class WindowsLegacyIndenterRegistry : ILegacyIndenterRegistry
Inheritance
WindowsLegacyIndenterRegistry
Implements
Inherited Members

Remarks

On a platform that has no registry there is nothing to read.

Methods

ReadSmartIndenter()

Reads the values of the key of the Smart Indenter's settings: HKCU\Software\VB and VBA Program Settings\Office Automation Ltd.\Smart Indenter.

public IReadOnlyDictionary<string, object>? ReadSmartIndenter()

Returns

IReadOnlyDictionary<string, object>

The values by name, a int or a string each; null when there is no such key.

ReadTabWidth()

Reads the tab width of the VBA editor: TabWidth in HKCU\Software\Microsoft\VBA\6.0\Common, or in 7.0\Common when there is no 6.0 key.

public int? ReadTabWidth()

Returns

int?

The tab width; null when there is none.