Class ApplicationConfiguration

Application level configuration for Markdown Monster

System.Object
  Westwind.Utilities.Configuration.AppConfiguration
    MarkdownMonster.ApplicationConfiguration
public class ApplicationConfiguration : AppConfiguration, INotifyPropertyChanged

Class Members

MemberDescription

Constructor

PropertyChanged

AddRecentFile

public void AddRecentFile(string filename)

Backup

Backs up configuration data to a backup file in the CommonFolder. Filename includes backup date and time

public string Backup()

CleanupRecentFilesAndFolders

Removes missing files and folders from the recent lists

public void CleanupRecentFilesAndFolders()

OnPropertyChanged

public virtual void OnPropertyChanged(string propertyName)

Reset

Resets configuration settings by deleting the configuration file and then exits the application.

public void Reset(bool noExit)

Write

public virtual bool Write()

public void Write(string filename)

WriteAsString

public virtual string WriteAsString()

AlwaysUsePreviewRefresh

Determines whether the Preview browser always does a full refresh when the preview is updated. Normally MM tries to update just the document content. Use this setting if you are rendering custom content that includes script tags that need to execute in the page in the rendered content.

ApplicationTheme

The name of the application

ApplicationUpdates

Configuration object that olds info about how applications are updated

AutoSaveBackups

If non-zero creates a backup in the number of minutes specified. 0 turns this feature off.

AutoSaveDocuments

Determines whether documents are automatically saved whenever changes are made.

AutoSaveDocuments takes precedence over AutoSaveBackups

BugReportUrl

Custom Bug Reporting url. Obsolete - in lieu of ApplicationInsights

CommonFolder

Common folder where configuration files are stored. Can be moved to an alternate location to allow sharing.

DefaultCodeSyntax

Default code syntax displayed in the Paste Code dialog

DisableAddins

Disables all addins from loading

DisableHardwareAcceleration

If set makes the application not use GPU accelleration. Set this setting if you have problems with MM starting up with a black screen. A very few video drivers are known to have render problems and this setting allows getting around this driver issue.

DisableSplashScreen

DistractionFreeModeHideOptions

String that holds any of the following as a comma delimited string in all lower case: "toolbar,statusbar,menu,preview,tabs";

Any of those are hidden in distraction free mode.

Editor

Editor Configuration Sub-Settings

EditorExtensionMappings

Editor to editor syntax mappings that maps file extensions to specific Ace Editor syntax formats. If a file with the given extension is opened it uses the specified syntax highlighting in the editor.

EditorTheme

The theme used for the editor. Can be any of AceEditor themes twilight, visualstudio, github, monokai etc.

FolderBrowser

Configuration Setting for the Folder Browser

Git

Configuration Settings for Git Integration

ImageEditor

Image editor used to edit images. Empty uses system default editor

ImageViewer

Image viewer used to open images. Empty setting uses the default viewer

IsDocumentOutlineVisible

IsPreviewVisible

Determines whether the preview browser is visible

JpegImageCompressionLevel

Jpeg Image Compression level from 50 to 100. Defaults 80.

LastFolder

Last folder used when opening a document

LastLinkExternal

Remembers last Is link External setting when embedding links

MarkdownOptions

MaxDocumentOutlineLevel

OpenDocuments

A collection of the open Markdown documents.

OpenFolderCommand

Command Processing for OpenFolder

OpenInPresentationMode

PreviewHttpLinksExternal

If set to true causes Http links in the Previewer to be opened in the default system Web Browser

PreviewMode

Determines whether the internal or external window previewer are used

PreviewSyncMode

Determines whether the preview attempts to sync to the editor when previewing HTML.

PreviewTheme

Themes used to render the Preview. Preview themes are located in the .\PreviewThemes folder and you can add custom themes to this folder.

RecentDocuments

List of recently opened files. Files opened and selected are added to the beginning of the list.

RecentDocumentsLength

Determines how many items to display in the recent documents list

RememberLastDocumentsLength

Determines how many of the last documents are remembered and reopened at most

ReportErrors

Determines whether errors are reported anonymously

SendTelemetry

Flag to determine whether telemetry is sent

ShowFullDocPathInTitlebar

Determines whether the full path for the open document is displayed in the Main Window's title bar.

StatusMessageTimeout

Timeout used on Statusbar messages

TelemetryUrl

Custom Bug Reporting url. Obsolete - in lieu of ApplicationInsights

TerminalCommand

Command Processing Executable to bring up a terminal window Command or Powershell, but could also be Console or ConEmu cmd.exe /k "cd {0}" powershell.exe -NoExit -Command "& cd 'c:\program files'"

TerminalCommandArgs

Terminal executable arguments to pass to bring up terminal in a specific folder. {0} represents folder name.

UseMachineEncryptionKeyForPasswords

By default passwords in addins are encrypted with machine encryption keys which means they are not portable. When false a fixed password is used that is portable which is not as secure.

Changing this scheme will cause Registration Keys to require re-entering passwords.

UseReferenceLinks

Determines whether links are embedded as reference links at the bottom of the current document rather than explicit links

UseSingleWindow

Determines whether Markdown Monster runs as a Singleton application. If true only a single instance runs and parameters are forwarded to open in the single instance.

WebBrowserPreviewExecutable

Web Browser Preview Executable - use this to force a specific browser since Windows seems to not be able to maintain a proper association long term.

If not set or path doesn't exist, uses Windows default configuration.

WindowPosition

Hold last window position

Requirements

Namespace: MarkdownMonster
Assembly: markdownmonster.exe

© West Wind Technologies, 2019 • Updated: 01/06/19
Comment or report problem with topic