C# Class RazorPad.UI.Editors.CodeEditor

Inheritance: System.Windows.Controls.UserControl
Show file Open project: RazorPad/RazorPad Class Usage Examples

Public Properties

Property Type Description
EditorFontSizeProperty System.Windows.DependencyProperty
EditorLanguageProperty System.Windows.DependencyProperty
ReadOnlyProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Public Methods

Method Description
CodeEditor ( ) : System

Protected Methods

Method Description
InitializeFolding ( AbstractFoldingStrategy foldingStrategy ) : void

Private Methods

Method Description
InitializeEditor ( ) : void
InitializeTextChangedTimer ( ) : void
OnEditorFontSizeChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnEditorLanguageChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnReadOnlyChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnTextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
SyncText ( ) : void

Method Details

CodeEditor() public method

public CodeEditor ( ) : System
return System

InitializeFolding() protected method

protected InitializeFolding ( AbstractFoldingStrategy foldingStrategy ) : void
foldingStrategy ICSharpCode.AvalonEdit.Folding.AbstractFoldingStrategy
return void

Property Details

EditorFontSizeProperty public static property

public static DependencyProperty,System.Windows EditorFontSizeProperty
return System.Windows.DependencyProperty

EditorLanguageProperty public static property

public static DependencyProperty,System.Windows EditorLanguageProperty
return System.Windows.DependencyProperty

ReadOnlyProperty public static property

public static DependencyProperty,System.Windows ReadOnlyProperty
return System.Windows.DependencyProperty

TextProperty public static property

public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty