Property | Type | Description | |
---|---|---|---|
editactions | IEditAction>.Dictionary |
Property | Type | Description | |
---|---|---|---|
GenerateDefaultActions | void | ||
GetEditAction | IEditAction | ||
OnDocumentChanged | void | ||
ParseFont |
Method | Description | |
---|---|---|
BeginUpdate ( ) : void | Call this method before a long update operation this 'locks' the text area so that no screen update occurs. | |
CanSaveWithCurrentEncoding ( ) : bool |
Gets if the document can be saved with the current encoding without losing data.
|
|
EndUpdate ( ) : void | Call this method to 'unlock' the text area. After this call screen update can occur. But no automatical refresh occurs you have to commit the updates in the queue. | |
GetRangeDescription ( int selectedItem, int itemCount ) : string | ||
IsEditAction ( Keys keyData ) : bool | ||
LoadFile ( string fileName ) : void | ||
LoadFile ( string fileName, Stream stream, bool autoLoadHighlighting, bool autodetectEncoding ) : void | Loads a file from the specified stream. | |
LoadFile ( string fileName, bool autoLoadHighlighting, bool autodetectEncoding ) : void | Loads a file given by fileName | |
OptionsChanged ( ) : void | ||
Refresh ( ) : void | Overwritten refresh method that does nothing if the control is in an update cycle. | |
SaveFile ( Stream stream ) : void | Saves the text editor content into the specified stream. Does not close the stream. | |
SaveFile ( string fileName ) : void | Saves the text editor content into the file. |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
OnFileNameChanged ( |
||
OnReloadHighlighting ( object sender, |
||
TextEditorControlBase ( ) : System |
Method | Description | |
---|---|---|
GenerateDefaultActions ( ) : void | ||
GetEditAction ( Keys keyData ) : IEditAction | ||
OnDocumentChanged ( object sender, |
||
ParseFont ( string font ) : |
public GetRangeDescription ( int selectedItem, int itemCount ) : string | ||
selectedItem | int | |
itemCount | int | |
return | string |
public LoadFile ( string fileName, Stream stream, bool autoLoadHighlighting, bool autodetectEncoding ) : void | ||
fileName | string | The name of the file to open. Used to find the correct highlighting strategy /// if autoLoadHighlighting is active, and sets the filename property to this value. |
stream | Stream | The stream to actually load the file content from. |
autoLoadHighlighting | bool | Automatically load the highlighting for the file |
autodetectEncoding | bool | Automatically detect file encoding and set Encoding property to the detected encoding. |
return | void |
public LoadFile ( string fileName, bool autoLoadHighlighting, bool autodetectEncoding ) : void | ||
fileName | string | The name of the file to open |
autoLoadHighlighting | bool | Automatically load the highlighting for the file |
autodetectEncoding | bool | Automatically detect file encoding and set Encoding property to the detected encoding. |
return | void |
protected OnFileNameChanged ( |
||
e | ||
return | void |
protected OnReloadHighlighting ( object sender, |
||
sender | object | |
e | ||
return | void |