C# Класс NanoByte.Common.Controls.LiveEditor

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

ClearUndoStack() публичный Метод

Clears the undo stack of the underlying text editor control.
public ClearUndoStack ( ) : void
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

LiveEditor() публичный Метод

public LiveEditor ( ) : System
Результат System

Redo() публичный Метод

Executes the redo method of the underlying text editor control.
public Redo ( ) : void
Результат void

SetContent() публичный Метод

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).
Результат void

Undo() публичный Метод

Executes the undo method of the underlying text editor control.
public Undo ( ) : void
Результат void