C# Class SS.Ynote.Classic.UI.Editor

Inheritance: WeifenLuo.WinFormsUI.Docking.DockContent
Afficher le fichier Open project: samarjeet27/ynoteclassic Class Usage Examples

Méthodes publiques

Méthode Description
Editor ( ) : System

Default Constructor

ForceAutoComplete ( ) : void
HighlightSyntax ( string lang ) : void

Highlights Syntax

InsertSnippet ( YnoteSnippet snippet ) : void
RePaintTheme ( ) : void
RebuildAutocompleteMenu ( ) : void
ToggleDistrationFreeMode ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

GetPersistString ( ) : string
OnClosing ( CancelEventArgs e ) : void
OnShown ( EventArgs e ) : void

Private Methods

Méthode Description
BuildContextMenu ( ) : void

Builds Context Menu

CreateAutoCompleteMenu ( ) : void

Initializes AutoComplteMenu

CreateDocumentMap ( ) : void
DistractionFreeDimensions ( ) : void
GetDictionary ( ) : string>.Dictionary
HighlightInvisbleCharacters ( Range r ) : void

Highlights Invisble Characters

HighlightSyntax ( string lang, Range r ) : void
InitEvents ( ) : void

Initialize Events

InitSettings ( ) : void
InitializeComponent ( ) : void

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

LoadSnippets ( ) : void

Loads Snippets

PositionCaretTo ( char c ) : void
ProcessShortcuts ( KeyEventArgs e ) : void
ThemifyDocumentMap ( ) : void
codebox_DragDrop ( object sender, DragEventArgs e ) : void
codebox_KeyDown ( object sender, KeyEventArgs e ) : void
codebox_SelectionChangedDelayed ( object sender, EventArgs e ) : void
codebox_TextChangedDelayed ( object sender, TextChangedEventArgs e ) : void
contextmenu_Popup ( object sender, EventArgs e ) : void
menuItem11_Click ( object sender, EventArgs e ) : void
menuItem12_Click ( object sender, EventArgs e ) : void
menuItem13_Click ( object sender, EventArgs e ) : void
menuItem2_Click ( object sender, EventArgs e ) : void
menuItem3_Click ( object sender, EventArgs e ) : void
menuItem9_Click ( object sender, EventArgs e ) : void

Method Details

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

Editor() public méthode

Default Constructor
public Editor ( ) : System
Résultat System

ForceAutoComplete() public méthode

public ForceAutoComplete ( ) : void
Résultat void

GetPersistString() protected méthode

protected GetPersistString ( ) : string
Résultat string

HighlightSyntax() public méthode

Highlights Syntax
public HighlightSyntax ( string lang ) : void
lang string
Résultat void

InsertSnippet() public méthode

public InsertSnippet ( YnoteSnippet snippet ) : void
snippet SS.Ynote.Classic.Core.Snippets.YnoteSnippet
Résultat void

OnClosing() protected méthode

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

OnShown() protected méthode

protected OnShown ( EventArgs e ) : void
e System.EventArgs
Résultat void

RePaintTheme() public méthode

public RePaintTheme ( ) : void
Résultat void

RebuildAutocompleteMenu() public méthode

public RebuildAutocompleteMenu ( ) : void
Résultat void

ToggleDistrationFreeMode() public méthode

public ToggleDistrationFreeMode ( ) : void
Résultat void