internal void LoadOptions()
{
this.textEditor.Options.ConvertTabsToSpaces = PersistantStorage.StorageObject.TextUseSpaces;
this.textEditor.Options.IndentationSize = PersistantStorage.StorageObject.TextIndent;
this.textEditor.Options.ShowBoxForControlCharacters = PersistantStorage.StorageObject.TextFormatControlCharacters;
this.textEditor.Options.EnableHyperlinks = PersistantStorage.StorageObject.TextFormatHyperLinks;
this.textEditor.Options.EnableEmailHyperlinks = PersistantStorage.StorageObject.TextFormatEmailLinks;
if (PersistantStorage.StorageObject.TextShowFormatting)
{
this.textEditor.Options.ShowSpaces = true;
this.textEditor.Options.ShowTabs = true;
this.textEditor.Options.ShowEndOfLine = true;
}
else
{
this.textEditor.Options.ShowSpaces = false;
this.textEditor.Options.ShowTabs = false;
this.textEditor.Options.ShowEndOfLine = false;
}
this.textEditor.WordWrap = PersistantStorage.StorageObject.TextWordWrap;
}