Class DocumentFileWatcher

File watcher used on the open editor document. Monitors the file for changes and if a change occurs either updates the document (if not dirty) or does nothing and defers to editor.SaveDocument() to compare changes.

System.Object
  MarkdownMonster.Utilities.DocumentFileWatcher
public class DocumentFileWatcher : object

Class Members

MemberDescription

Constructor

AttachFilewatcher

Attach an Editor instance to watch the related file

public static void AttachFilewatcher(MarkdownDocumentEditor editor)

CheckFileChangeInOpenDocuments

Checks to see if a file has changed and updates the document in the editor

public static Task CheckFileChangeInOpenDocuments(bool noPrompt)

Requirements

Namespace: MarkdownMonster.Utilities
Assembly: markdownmonster.exe

© West Wind Technologies, 1996-2021 • Updated: 11/23/21
Comment or report problem with topic