C# Class CodeBox.Core.Elements.Paper

Inheritance: System.Windows.Controls.StackPanel
Show file Open project: anaimi/codebox Class Usage Examples

Public Properties

Property Type Description
HighlightedBlocks List

Private Properties

Property Type Description
Paper_MouseLeftButtonDown void
Paper_MouseLeftButtonUp void

Public Methods

Method Description
ClearHighlights ( ) : void
GetAllCharacters ( ) : List
GetHighlightedText ( ) : string
HighlightAll ( ) : void
HighlightFrom ( int line, int pos ) : void
HighlightUpto ( int line, int pos ) : void
InsertLine ( int index, CodeBox.Core.Elements.PaperLine line ) : void
LineAt ( int index ) : CodeBox.Core.Elements.PaperLine
Paper ( ) : System
RemoveCaret ( ) : void
RemoveHighlights ( ) : void
RemoveLine ( int index ) : void
RestoreCaret ( ) : void
UpdateCaret ( int line, int position ) : void
UpdateCaretPosition ( ) : void
UpdateLinesIndices ( int index ) : void
UpdateNumberPanel ( ) : void

Private Methods

Method Description
Paper_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Paper_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

ClearHighlights() public method

public ClearHighlights ( ) : void
return void

GetAllCharacters() public method

public GetAllCharacters ( ) : List
return List

GetHighlightedText() public method

public GetHighlightedText ( ) : string
return string

HighlightAll() public method

public HighlightAll ( ) : void
return void

HighlightFrom() public method

public HighlightFrom ( int line, int pos ) : void
line int
pos int
return void

HighlightUpto() public method

public HighlightUpto ( int line, int pos ) : void
line int
pos int
return void

InsertLine() public method

public InsertLine ( int index, CodeBox.Core.Elements.PaperLine line ) : void
index int
line CodeBox.Core.Elements.PaperLine
return void

LineAt() public method

public LineAt ( int index ) : CodeBox.Core.Elements.PaperLine
index int
return CodeBox.Core.Elements.PaperLine

Paper() public method

public Paper ( ) : System
return System

RemoveCaret() public method

public RemoveCaret ( ) : void
return void

RemoveHighlights() public method

public RemoveHighlights ( ) : void
return void

RemoveLine() public method

public RemoveLine ( int index ) : void
index int
return void

RestoreCaret() public method

public RestoreCaret ( ) : void
return void

UpdateCaret() public method

public UpdateCaret ( int line, int position ) : void
line int
position int
return void

UpdateCaretPosition() public method

public UpdateCaretPosition ( ) : void
return void

UpdateLinesIndices() public method

public UpdateLinesIndices ( int index ) : void
index int
return void

UpdateNumberPanel() public method

public UpdateNumberPanel ( ) : void
return void

Property Details

HighlightedBlocks public property

public List HighlightedBlocks
return List