C# Class ICSharpCode.AvalonEdit.Editing.LineNumberMargin

Margin showing line numbers.
Inheritance: ICSharpCode.AvalonEdit.Editing.AbstractMargin, IWeakEventListener
Afficher le fichier Open project: kjk/kjkpub Class Usage Examples

Méthodes protégées

Méthode Description
HitTestCore ( System.Windows.Media.PointHitTestParameters hitTestParameters ) : System.Windows.Media.HitTestResult
MeasureOverride ( Size availableSize ) : Size
OnDocumentChanged ( TextDocument oldDocument, TextDocument newDocument ) : void
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
OnTextViewChanged ( TextView oldTextView, TextView newTextView ) : void
ReceiveWeakEvent ( Type managerType, object sender, EventArgs e ) : bool

Private Methods

Méthode Description
ExtendSelection ( SimpleSegment currentSeg ) : void
GetTextLineSegment ( System.Windows.Input.MouseEventArgs e ) : SimpleSegment
IWeakEventListener ( Type managerType, object sender, EventArgs e ) : bool
LineNumberMargin ( ) : System
OnDocumentLineCountChanged ( ) : void
TextViewVisualLinesChanged ( object sender, EventArgs e ) : void

Method Details

HitTestCore() protected méthode

protected HitTestCore ( System.Windows.Media.PointHitTestParameters hitTestParameters ) : System.Windows.Media.HitTestResult
hitTestParameters System.Windows.Media.PointHitTestParameters
Résultat System.Windows.Media.HitTestResult

MeasureOverride() protected méthode

protected MeasureOverride ( Size availableSize ) : Size
availableSize System.Windows.Size
Résultat System.Windows.Size

OnDocumentChanged() protected méthode

protected OnDocumentChanged ( TextDocument oldDocument, TextDocument newDocument ) : void
oldDocument ICSharpCode.AvalonEdit.Document.TextDocument
newDocument ICSharpCode.AvalonEdit.Document.TextDocument
Résultat void

OnMouseLeftButtonDown() protected méthode

protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Résultat void

OnMouseLeftButtonUp() protected méthode

protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
Résultat void

OnRender() protected méthode

protected OnRender ( System.Windows.Media.DrawingContext drawingContext ) : void
drawingContext System.Windows.Media.DrawingContext
Résultat void

OnTextViewChanged() protected méthode

protected OnTextViewChanged ( TextView oldTextView, TextView newTextView ) : void
oldTextView TextView
newTextView TextView
Résultat void

ReceiveWeakEvent() protected méthode

protected ReceiveWeakEvent ( Type managerType, object sender, EventArgs e ) : bool
managerType System.Type
sender object
e System.EventArgs
Résultat bool