Свойство | Тип | Описание | |
---|---|---|---|
Textbox | System.Windows.Forms.RichTextBox | ||
Tree | ParseTree |
Свойство | Тип | Описание | |
---|---|---|---|
AddRtfEnd | void | ||
AddRtfHeader | void | ||
AutoHighlightStart | void | ||
Do | void | ||
FindNode | ParseNode | ||
GetScrollPos | int | ||
HighlighTextCore | void | ||
HighlightTextInternal | void | ||
HighlightToken | void | ||
HightlightNode | void | ||
PostMessageA | bool | ||
RestoreState | void | ||
SendMessage | |||
SetScrollPos | int | ||
Textbox_Disposed | void | ||
Textbox_SelectionChanged | void | ||
Textbox_TextChanged | void | ||
textbox_KeyDown | void |
Метод | Описание | |
---|---|---|
ClearUndo ( ) : void | ||
Dispose ( ) : void | ||
GetCurrentContext ( ) : ParseNode |
this handy function returns the section in which the user is editing currently
|
|
HighlightText ( ) : void |
use HighlighText to start the text highlight process from the caller's thread. this method is not used internally.
|
|
Lock ( ) : void | ||
Redo ( ) : void | ||
TextHighlighter ( System.Windows.Forms.RichTextBox textbox, |
||
Undo ( ) : void | ||
Unicode ( StringBuilder sb ) : StringBuilder |
added function to convert unicode characters in the stringbuilder to rtf unicode escapes
|
|
Unlock ( ) : void |
Метод | Описание | |
---|---|---|
AddRtfEnd ( StringBuilder sb ) : void | ||
AddRtfHeader ( StringBuilder sb ) : void | ||
AutoHighlightStart ( ) : void | ||
Do ( string text, int position ) : void | ||
FindNode ( ParseNode node, int posstart ) : ParseNode | ||
GetScrollPos ( int hWnd, int nBar ) : int | ||
HighlighTextCore ( ) : void |
this method should be used only by HighlightText or RestoreState methods
|
|
HighlightTextInternal ( ) : void | ||
HighlightToken ( |
inserts the RTF codes to highlight text blocks
|
|
HightlightNode ( ParseNode node, StringBuilder sb ) : void |
inserts the RTF codes to highlight text blocks
|
|
PostMessageA ( |
||
RestoreState ( UndoItem item ) : void | ||
SendMessage ( |
||
SetScrollPos ( |
||
Textbox_Disposed ( object sender, |
||
Textbox_SelectionChanged ( object sender, |
||
Textbox_TextChanged ( object sender, |
||
textbox_KeyDown ( object sender, |
public TextHighlighter ( System.Windows.Forms.RichTextBox textbox, |
||
textbox | System.Windows.Forms.RichTextBox | |
scanner | ||
parser | ||
Результат | System |
public Unicode ( StringBuilder sb ) : StringBuilder | ||
sb | StringBuilder | |
Результат | StringBuilder |
public RichTextBox,System.Windows.Forms Textbox | ||
Результат | System.Windows.Forms.RichTextBox |