Свойство | Type | Description | |
---|---|---|---|
AddIndent | void | ||
Clean | void | ||
Couple | bool | ||
EndLine | int | ||
NewLine | void | ||
ProcessLine | void | ||
StartLine | int | ||
SyntaxRichTextBox_SelectionChanged | void | ||
SyntaxRichTextBox_TextChanged | void |
Méthode | Description | |
---|---|---|
Indent ( ) : void |
Indents the contents of the syntax text box
|
|
ProcessAllLines ( bool force = false ) : void |
Processes all lines in the text box
|
|
SyntaxRichTextBox ( ) : System |
Constructor
|
Méthode | Description | |
---|---|---|
WndProc ( |
Captures WndProc event and filter out paint events when CanPaint is set to false to avoid flickering
|
Méthode | Description | |
---|---|---|
AddIndent ( System.StringBuilder builder, int level ) : void |
Adds an indent on the string
|
|
Clean ( ) : void |
Cleans meta data about what is displayed
|
|
Couple ( string text, int i ) : bool |
Indicates that two consecutive characters are a couple of parenthesis, brackets or curved brackets
|
|
EndLine ( int index ) : int |
Provides the end index of the line, according to the index provided as parameter
|
|
NewLine ( System.StringBuilder builder, int level ) : void |
Adds a new line
|
|
ProcessLine ( int start, string line ) : void |
Process a line.
|
|
StartLine ( int index ) : int |
Provides the start of the line, according to the index provided as parameter
|
|
SyntaxRichTextBox_SelectionChanged ( object sender, |
Recolor the displayed lines
|
|
SyntaxRichTextBox_TextChanged ( object sender, |
Handles a text change to recolor it
|
public ProcessAllLines ( bool force = false ) : void | ||
force | bool | Forces the recoloring of all lines. /// Otherwise, already colored lines are not processed again |
Résultat | void |
protected WndProc ( |
||
m | ||
Résultat | void |