public void PreviewContents() {
// Anything to process?
if (Formatter == null) return;
// Is the preview window open
if (App.PreviewWindow == null) return;
// Display the preview of the content
App.PreviewWindow.DisplayPreview (View.Window.Title, Formatter.Language.FormatForPreview (TextEditor.TextStorage.Value), this, FilePath);
}