
Class that is called from browser JavaScript to interact with the Markdown Monster UI/Editor
MarkdownMonster.Windows.EditorWebViewDotnetInterop
Class Members
Member | Description | |
---|---|---|
![]() |
Constructor | |
![]() |
CheckSpelling | Check spelling of an individual word - called from ACE Editor THIS METHOD SHOULD BE SYNC!
public bool CheckSpelling(string text, string language,
bool reload)
|
![]() |
CopyOperation | Handles copying from the current selection. Explict to always force content to \r\n to avoid potential failures with \n to editors that don't support \n only.
public Task
|
![]() |
CutOperation |
public Task
|
![]() |
EmbedDroppedFileAsImage | Embeds a dropped file as an image. If not an image no action is taken Also allows manually sending a file with DroppedFile.ToString() as the file parameter.
public Task
|
![]() |
GetKeyBindingsJson | Return keyboard bindings object as a JSON string so we can bind inside of the editor JavaScript
public string GetKeyBindingsJson()
|
![]() |
GetSuggestions | Shows spell check context menu options
public Task
|
![]() |
GotFocus | ACE Editor Notification when focus is set to the editor
public Task
|
![]() |
InitializeInterop | Initial call *into* JavaScript. Sync call that doesn't wait and doesn't resync to current thread
public void InitializeInterop()
|
![]() |
InitializeInteropAsync | Intial Call into JavaScript
public Task InitializeInteropAsync()
|
![]() |
IsDirty | This is multi-purpose function that: * Retrieves the text from the editor into the Document.CurrentText * Checks to see if the previous CurrentText matches the retrieved text This is the current…
public bool IsDirty(bool previewIfDirty, string markdown)
|
![]() |
IsPreviewToEditorSync | Checks to see if the editor and preview are synced and if scrolling the preview needs to scroll the editor.
public bool IsPreviewToEditorSync()
|
![]() |
KeyboardCommand | Performs the special key operation that is tied to the key in the application. ctrl-s,ctrl-n, ctrl-o, cltr-i,ctrl-b,ctrl-l,ctrl-k,alt-c,ctrl-shift-v,ctrl-shift-c,ctlr-shift-down,ctrl-shift-up
public Task
|
![]() |
LostFocus | ACE Editor Notification when focus is lost
public Task
|
![]() |
OpenEditorContextMenu |
public Task
|
![]() |
PasteOperation | Handle pasting and handle images None - always true
public Task
|
![]() |
PreviewContextMenu | Shows the WPF Preview menu
public Task
|
![]() |
PreviewLinkNavigation | Fired when a link is clicked in the preview editor. Opens a new external browser instance with the URL opened or opens certain supported files (like other markdown files) in the editor.
public Task
|
![]() |
PreviewMarkdownCallback | Callback handler callable from JavaScript editor
public Task
|
![]() |
RestyleEditor |
public Task
|
![]() |
ScrollPreviewToEditorLineCallback | Scrolls the preview editor - typically in response to editor scroll or click operations based on the PreviewSyncMode setting
public Task
|
![]() |
SetEditorFocus |
public Task
|
![]() |
SetPreviewMode | Sets the currently selected tab to or off of Preview Mode
public void SetPreviewMode(bool clearPreviewMode)
|
![]() |
Test |
public string Test()
|
![]() |
TriggerWindowAltMenu | Call this to trigger the Alt-Window command to show underlines and activate the Window to navigate the shortcut menus. Client code calls this after short alt-key delay from OnKey Handler.
public Task
|
![]() |
UpdateDocumentStats | Callback to force updating of the status bar document stats
public Task
|
![]() |
JsInterop | Optional reference to the JavaScript interop that allows calling into JavaScript from .NET code. Provided primarily as a helper to make it easier to access JS code internally as well as for .NET… |
![]() |
Model | |
![]() |
WebBrowser | |
![]() |
Window |
Assembly: MarkdownMonster.dll
© West Wind Technologies, 2025 • Updated: 2025-02-25
Comment or report problem with topic