Method | Description | |
---|---|---|
ClearSelection ( ) : void | ||
GetAnchorMiddlePoint ( ) : System.Point | ||
GetAnchorTopPoint ( ) : System.Point | ||
GetEndSelection ( ) : Reko.Gui.Windows.Controls.TextPointer | ||
GetStartSelection ( ) : Reko.Gui.Windows.Controls.TextPointer | ||
GetTagFromPoint ( System.Point ptClient ) : object |
Given a point in client coordinates, locate the tag associated with the clicked span -- if there is one.
|
|
InvalidateModel ( ) : void | ||
IsSelectionEmpty ( ) : bool | ||
RecomputeLayout ( ) : void | ||
TextView ( ) : Reko.Core | ||
model_ModelChanged ( object sender, |
||
vScroll_ValueChanged ( object sender, |
Method | Description | |
---|---|---|
ChangeLayout ( ) : void |
Recomputes the spans and scrollbars of the TextView.
|
|
ComputeLayout ( Graphics g ) : void |
Computes the layout of all visible text spans and stores them the member variable 'visibleLines'. This includes a final partial item on the end.
|
|
Dispose ( bool disposing ) : void | ||
GetSpan ( System.Point pt ) : Reko.Gui.Windows.Controls.LayoutSpan |
Returns the span located at the point pt.
|
|
OnFontChanged ( |
||
OnKeyDown ( |
||
OnLostFocus ( |
||
OnModelChanged ( |
||
OnMouseDown ( |
||
OnMouseMove ( |
||
OnMouseUp ( |
||
OnMouseWheel ( |
||
OnPaint ( |
||
OnPaintBackground ( |
||
OnResize ( |
||
OnScroll ( ) : void |
Called when the view is scrolled.
|
|
OnServicesChanged ( ) : void |
Method | Description | |
---|---|---|
ClearCaret ( ) : void | ||
ClientToLogicalPosition ( System.Point pt ) : Reko.Gui.Windows.Controls.TextPointer | ||
FindSpan ( System.Point ptClient, Reko.Gui.Windows.Controls.LayoutLine line ) : Reko.Gui.Windows.Controls.LayoutSpan | ||
GetFullyVisibleLines ( ) : int | ||
GetSize ( Reko.Gui.Windows.Controls.TextSpan span, string text, Font font, Graphics g ) : SizeF |
Computes the size of a text span. The span is first asked to measure itself, then the current style is allowed to override the size. |
|
GetStyleStack ( ) : Reko.Gui.Windows.Controls.StyleStack | ||
IsInsideSelection ( Reko.Gui.Windows.Controls.TextPointer pos ) : bool | ||
LogicalPositionToClient ( Reko.Gui.Windows.Controls.TextPointer pos ) : RectangleF | ||
SaveSelectionToStream ( System.Stream stream ) : void | ||
SetCaret ( ) : void | ||
UpdateScrollbar ( ) : void |
protected ComputeLayout ( Graphics g ) : void | ||
g | Graphics | |
return | void |
public GetAnchorMiddlePoint ( ) : System.Point | ||
return | System.Point |
public GetEndSelection ( ) : Reko.Gui.Windows.Controls.TextPointer | ||
return | Reko.Gui.Windows.Controls.TextPointer |
protected GetSpan ( System.Point pt ) : Reko.Gui.Windows.Controls.LayoutSpan | ||
pt | System.Point | Location specified in client coordinates. |
return | Reko.Gui.Windows.Controls.LayoutSpan |
public GetStartSelection ( ) : Reko.Gui.Windows.Controls.TextPointer | ||
return | Reko.Gui.Windows.Controls.TextPointer |
public GetTagFromPoint ( System.Point ptClient ) : object | ||
ptClient | System.Point | |
return | object |
protected OnFontChanged ( |
||
e | ||
return | void |
protected OnKeyDown ( |
||
e | ||
return | void |
protected OnLostFocus ( |
||
e | ||
return | void |
protected OnModelChanged ( |
||
e | ||
return | void |
protected OnMouseDown ( |
||
e | ||
return | void |
protected OnMouseMove ( |
||
e | ||
return | void |
protected OnMouseUp ( |
||
e | ||
return | void |
protected OnMouseWheel ( |
||
e | ||
return | void |
protected OnPaint ( |
||
e | ||
return | void |
protected OnPaintBackground ( |
||
pevent | ||
return | void |
protected OnResize ( |
||
e | ||
return | void |
public model_ModelChanged ( object sender, |
||
sender | object | |
e | ||
return | void |
public vScroll_ValueChanged ( object sender, |
||
sender | object | |
e | ||
return | void |