C# Class ICSharpCode.AvalonEdit.Rendering.SingleCharacterElementGenerator.TabTextElement

Inheritance: ICSharpCode.AvalonEdit.Rendering.VisualLineElement
Datei anzeigen Open project: kjk/kjkpub

Public Methods

Method Description
CreateTextRun ( int startVisualColumn, ITextRunConstructionContext context ) : System.Windows.Media.TextFormatting.TextRun
GetNextCaretPosition ( int visualColumn, LogicalDirection direction, CaretPositioningMode mode ) : int
TabTextElement ( System.Windows.Media.FormattedText text ) : System

Method Details

CreateTextRun() public method

public CreateTextRun ( int startVisualColumn, ITextRunConstructionContext context ) : System.Windows.Media.TextFormatting.TextRun
startVisualColumn int
context ITextRunConstructionContext
return System.Windows.Media.TextFormatting.TextRun

GetNextCaretPosition() public method

public GetNextCaretPosition ( int visualColumn, LogicalDirection direction, CaretPositioningMode mode ) : int
visualColumn int
direction LogicalDirection
mode CaretPositioningMode
return int

TabTextElement() public method

public TabTextElement ( System.Windows.Media.FormattedText text ) : System
text System.Windows.Media.FormattedText
return System