C# Class Nexus.Client.ModManagement.Scripting.XmlScript.CPL.Controls.CPLTextEditor

And editor for the Conditional Pattern Language.
Inheritance: ICSharpCode.TextEditor.TextEditorControl
Mostra file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
CPLTextEditor ( ) : System

The default constructor.

ValidateCPL ( ) : void

Validates the CPL.

Protected Methods

Method Description
OnTextChanged ( EventArgs e ) : void

Starts the timers to validate the CPL.

Private Methods

Method Description
Caret_PositionChanged ( object sender, EventArgs e ) : void
CodeValidated ( object sender, EventArgs e ) : void
ValidateOnTimer ( object sender, EventArgs e ) : void

Validates the CPL, after a given period has elapsed.

This method is called by a timer after a set span after the text in the editor was last changed.

ViewModel_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

Method Details

CPLTextEditor() public method

The default constructor.
public CPLTextEditor ( ) : System
return System

OnTextChanged() protected method

Starts the timers to validate the CPL.
protected OnTextChanged ( EventArgs e ) : void
e System.EventArgs An describing the event arguments.
return void

ValidateCPL() public method

Validates the CPL.
public ValidateCPL ( ) : void
return void