C# 클래스 NotepadSharp.Windows.Editor

파일 보기 프로젝트 열기: Hexman768/Notepad-Sharp

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CreateSaveDialog ( ) : SaveFileDialog
DetectSyntax ( string ext ) : void
Editor_FormClosing ( object sender, FormClosingEventArgs e ) : void

메소드 상세

ChangeSyntax() 공개 메소드

Changes the language of the given FastColoredTextBox instance and clears all styles.
public ChangeSyntax ( Language language ) : void
language Language Language
리턴 void

Editor() 공개 메소드

Constructs the Editor.
public Editor ( MainForm parent ) : FastColoredTextBoxNS
parent MainForm
리턴 FastColoredTextBoxNS

Save() 공개 메소드

Attempts to save the current file.
public Save ( ) : bool
리턴 bool

SetCurrentEditorSyntaxHighlight() 공개 메소드

public SetCurrentEditorSyntaxHighlight ( string fName ) : void
fName string
리턴 void