C# Class NanoByte.Common.Controls.LiveEditor

Afficher le fichier Open project: nano-byte/common

Méthodes publiques

Méthode Description
ClearUndoStack ( ) : void

Clears the undo stack of the underlying text editor control.

LiveEditor ( ) : System
Redo ( ) : void

Executes the redo method of the underlying text editor control.

SetContent ( string text, string format ) : void

Sets a new text to be edited.

Undo ( ) : void

Executes the undo method of the underlying text editor control.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
HandleError ( Exception ex ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

SetStatus ( Image image, string message ) : void
TextEditor_TextChanged ( object sender, EventArgs e ) : void
TextEditor_Validating ( object sender, CancelEventArgs e ) : void
ValidateContent ( ) : void
timer_Tick ( object sender, EventArgs e ) : void

Method Details

ClearUndoStack() public méthode

Clears the undo stack of the underlying text editor control.
public ClearUndoStack ( ) : void
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

LiveEditor() public méthode

public LiveEditor ( ) : System
Résultat System

Redo() public méthode

Executes the redo method of the underlying text editor control.
public Redo ( ) : void
Résultat void

SetContent() public méthode

Sets a new text to be edited.
public SetContent ( string text, string format ) : void
text string The text to set.
format string The format named used to determine the highlighting scheme (e.g. XML).
Résultat void

Undo() public méthode

Executes the undo method of the underlying text editor control.
public Undo ( ) : void
Résultat void