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

Inheritance: WeifenLuo.WinFormsUI.Docking.DockContent
Mostrar archivo Open project: samarjeet27/ynoteclassic Class Usage Examples

Public Methods

Method Description
Editor ( ) : System

Default Constructor

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

Highlights Syntax

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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

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

Private Methods

Method 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 method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Editor() public method

Default Constructor
public Editor ( ) : System
return System

ForceAutoComplete() public method

public ForceAutoComplete ( ) : void
return void

GetPersistString() protected method

protected GetPersistString ( ) : string
return string

HighlightSyntax() public method

Highlights Syntax
public HighlightSyntax ( string lang ) : void
lang string
return void

InsertSnippet() public method

public InsertSnippet ( YnoteSnippet snippet ) : void
snippet SS.Ynote.Classic.Core.Snippets.YnoteSnippet
return void

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

OnShown() protected method

protected OnShown ( EventArgs e ) : void
e System.EventArgs
return void

RePaintTheme() public method

public RePaintTheme ( ) : void
return void

RebuildAutocompleteMenu() public method

public RebuildAutocompleteMenu ( ) : void
return void

ToggleDistrationFreeMode() public method

public ToggleDistrationFreeMode ( ) : void
return void