C# Class SDE.Core.Avalon.AvalonDefaultLoading

This class is used to attach default settings to an avalon text editor. It adds the search feature (the search panel), the folding strategies, the word highlighting.
Show file Open project: Tokeiburu/RagnarokSDE

Public Methods

Method Description
Attach ( TextEditor editor ) : void
FindNext ( ) : void
FindPrevious ( ) : void
SelectResult ( ICSharpCode.AvalonEdit.Search.SearchResult result ) : void

Private Methods

Method Description
_caret_PositionChanged ( object sender, EventArgs e ) : void
_loadAvalon ( ) : void
_textArea_KeyDown ( object sender, System.Windows.Input.KeyEventArgs e ) : void
_updateCurrentWord ( string currentWord ) : void

Method Details

Attach() public method

public Attach ( TextEditor editor ) : void
editor ICSharpCode.AvalonEdit.TextEditor
return void

FindNext() public method

public FindNext ( ) : void
return void

FindPrevious() public method

public FindPrevious ( ) : void
return void

SelectResult() public method

public SelectResult ( ICSharpCode.AvalonEdit.Search.SearchResult result ) : void
result ICSharpCode.AvalonEdit.Search.SearchResult
return void