Class EditorConfiguration

Holds all Editor related configuration options

System.Object
  MarkdownMonster.Configuration.EditorConfiguration
public class EditorConfiguration : object, INotifyPropertyChanged

Class Members

MemberDescription

Constructor

PropertyChanged

AdditionalToolbarIcons

Additional Toolbar Icons: FontAwesomeIconId / MarkupMarkdown() action name https://github.com/RickStrahl/MarkdownMonster/blob/master/MarkdownMonster/_Classes/MarkdownDocumentEditor.cs#L508

CenteredMode

Sets the editor to render in the center of the canvas if a max width or padding is applied to the editor. Causes text to be rendered with surrounding white space if the canvas is larger than the width.

Used in combination with CenteredModeMaxWidth.

CenteredModeMaxWidth

If set to a non-zero value will keep the editor's content width to this specified size. If the canvas size is bigger the text is centered within the canvas area with whitespace on each side.

ClickableLinks

Determines if links embedded in the text are clickable via Ctrl-Click

Dictionary

Dictionary used by the editor. Defaults to 'en_US'. Others shipped: de_DE, es_ES, fr_FR Any OpenOffice style dictionary can be used by copying into the .\Editor folder providing .dic and .aff files.

EnableBulletAutoCompletion

If enabled prefills bullets and auto-numbers. Disabled by default because it has some side effects that are not desired by some.

EnableSpellcheck

Determines if spell checking is used. This value maps to the spell check button in the window header.

Font

The font used in the editor. Must be a proportional font

FontSize

Font size for the editor.

HighlightActiveLine

Determines whether the active line is highlighted in the editor

KeyboardHandler

Keyboard input hanlder type: default (ace/vs), vim, emacs

LinefeedMode

Determines how linefeeds are treated by the editor for copy and paste operations and new text entered. CrLf or Lf.

Note: It doesn't affect existing content in the document and doesn't re-write all line endings.

LineHeight

CSS style editor line height. Set to value between 1 and 2. Default 1.2

Padding

Horizontal padding for the editor

PreviewHighlightTimeout

Determines how long the preview highlighting stays highlighted in the Preview Editor after navigating or editing text in the editor. Value is in milliseconds. Set to 0 to never clear.

PrintMargin

Size of the print margin if it's displayed

RightToLeft

When true causes editor to run in RTL mode otherwise LTR

ShowInvisibles

Shows special symbols for white space characters in the editor.

ShowLineNumbers

Determines whether line numbers are shown in the editor margin

ShowPrintMargin

Determines whether a print margin is displayed

TabSize

If using SoftTabs determines the Tab size

UseSoftTabs

Determines whether hard tabs or spaces are used for Tabs

WrapMargin

A numeric value for the column when the editor wraps for long lines. Default is 0 which wraps at the editor's full width.

WrapText

Determines whether the editor wraps text or extends lines out. Default is false.

ZoomLevel

Zoom level percentage on top of the EditorFontSize

Requirements

Namespace: MarkdownMonster.Configuration
Assembly: markdownmonster.exe

© West Wind Technologies, 1996-2021 • Updated: 02/14/20
Comment or report problem with topic