SourceWriter.ViewController.PreviewContents C# (CSharp) 메소드

PreviewContents() 공개 메소드

Previews the current contents of the editor.
public PreviewContents ( ) : void
리턴 void
		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);
		}