C# Class NotepadSharp.Windows.Editor

Afficher le fichier Open project: Hexman768/Notepad-Sharp

Méthodes publiques

Méthode Description
ChangeSyntax ( Language language ) : void

Changes the language of the given FastColoredTextBox instance and clears all styles.

Editor ( MainForm parent ) : FastColoredTextBoxNS

Constructs the Editor.

Save ( ) : bool

Attempts to save the current file.

SetCurrentEditorSyntaxHighlight ( string fName ) : void

Private Methods

Méthode Description
CreateSaveDialog ( ) : SaveFileDialog
DetectSyntax ( string ext ) : void
Editor_FormClosing ( object sender, FormClosingEventArgs e ) : void

Method Details

ChangeSyntax() public méthode

Changes the language of the given FastColoredTextBox instance and clears all styles.
public ChangeSyntax ( Language language ) : void
language Language Language
Résultat void

Editor() public méthode

Constructs the Editor.
public Editor ( MainForm parent ) : FastColoredTextBoxNS
parent MainForm
Résultat FastColoredTextBoxNS

Save() public méthode

Attempts to save the current file.
public Save ( ) : bool
Résultat bool

SetCurrentEditorSyntaxHighlight() public méthode

public SetCurrentEditorSyntaxHighlight ( string fName ) : void
fName string
Résultat void