Méthode | Description | |
---|---|---|
GetNextCaretPosition ( int visualColumn, LogicalDirection direction, CaretPositioningMode mode ) : int |
Gets the next possible caret position after visualColumn, or -1 if there is no caret position.
|
|
GetRelativeOffset ( int visualColumn ) : int |
Gets the document offset (relative to the first line start) from a visual column.
|
|
GetTextLine ( int visualColumn ) : System.Windows.Media.TextFormatting.TextLine |
Gets the text line containing the specified visual column.
|
|
GetTextLineByVisualYPosition ( double visualTop ) : System.Windows.Media.TextFormatting.TextLine |
Gets a TextLine by the visual position.
|
|
GetTextLineVisualStartColumn ( System.Windows.Media.TextFormatting.TextLine textLine ) : int |
Gets the start visual column from the specified text line.
|
|
GetTextLineVisualYPosition ( System.Windows.Media.TextFormatting.TextLine textLine, VisualYPosition yPositionMode ) : double |
Gets the visual top from the specified text line.
|
|
GetVisualColumn ( Point point ) : int |
Gets the visual column from a document position (relative to top left of the document).
|
|
GetVisualColumn ( int relativeTextOffset ) : int |
Gets the visual column from a document offset relative to the first line start.
|
|
GetVisualPosition ( int visualColumn, VisualYPosition yPositionMode ) : Point |
Gets the visual position from the specified visualColumn.
|
Méthode | Description | |
---|---|---|
CalculateOffsets ( System.Windows.Media.TextFormatting.TextRunProperties globalTextRunProperties ) : void | ||
ConstructVisualElements ( ITextRunConstructionContext context, ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator generators ) : void | ||
HasImplicitStopAtLineEnd ( CaretPositioningMode mode ) : bool | ||
HasImplicitStopAtLineStart ( CaretPositioningMode mode ) : bool | ||
PerformVisualElementConstruction ( ICSharpCode.AvalonEdit.Rendering.VisualLineElementGenerator generators ) : void | ||
RunTransformers ( ITextRunConstructionContext context, IVisualLineTransformer transformers ) : void | ||
SetTextLines ( List |
||
VisualLine ( TextView textView, |
public GetNextCaretPosition ( int visualColumn, LogicalDirection direction, CaretPositioningMode mode ) : int | ||
visualColumn | int | |
direction | LogicalDirection | |
mode | CaretPositioningMode | |
Résultat | int |
public GetRelativeOffset ( int visualColumn ) : int | ||
visualColumn | int | |
Résultat | int |
public GetTextLine ( int visualColumn ) : System.Windows.Media.TextFormatting.TextLine | ||
visualColumn | int | |
Résultat | System.Windows.Media.TextFormatting.TextLine |
public GetTextLineByVisualYPosition ( double visualTop ) : System.Windows.Media.TextFormatting.TextLine | ||
visualTop | double | |
Résultat | System.Windows.Media.TextFormatting.TextLine |
public GetTextLineVisualStartColumn ( System.Windows.Media.TextFormatting.TextLine textLine ) : int | ||
textLine | System.Windows.Media.TextFormatting.TextLine | |
Résultat | int |
public GetTextLineVisualYPosition ( System.Windows.Media.TextFormatting.TextLine textLine, VisualYPosition yPositionMode ) : double | ||
textLine | System.Windows.Media.TextFormatting.TextLine | |
yPositionMode | VisualYPosition | |
Résultat | double |
public GetVisualColumn ( Point point ) : int | ||
point | Point | |
Résultat | int |
public GetVisualColumn ( int relativeTextOffset ) : int | ||
relativeTextOffset | int | |
Résultat | int |
public GetVisualPosition ( int visualColumn, VisualYPosition yPositionMode ) : Point | ||
visualColumn | int | |
yPositionMode | VisualYPosition | |
Résultat | Point |