Свойство | Type | Description | |
---|---|---|---|
editactions | IEditAction>.Dictionary |
Свойство | Type | Description | |
---|---|---|---|
GenerateDefaultActions | void | ||
GetEditAction | IEditAction | ||
OnDocumentChanged | void | ||
ParseFont |
Méthode | 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. |
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void | ||
OnFileNameChanged ( |
||
OnReloadHighlighting ( object sender, |
||
TextEditorControlBase ( ) : System |
Méthode | Description | |
---|---|---|
GenerateDefaultActions ( ) : void | ||
GetEditAction ( Keys keyData ) : IEditAction | ||
OnDocumentChanged ( object sender, |
||
ParseFont ( string font ) : |
public CanSaveWithCurrentEncoding ( ) : bool | ||
Résultat | bool |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public GetRangeDescription ( int selectedItem, int itemCount ) : string | ||
selectedItem | int | |
itemCount | int | |
Résultat | string |
public IsEditAction ( Keys keyData ) : bool | ||
keyData | Keys | |
Résultat | bool |
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. |
Résultat | 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. |
Résultat | void |
protected OnFileNameChanged ( |
||
e | ||
Résultat | void |
protected OnReloadHighlighting ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
protected TextEditorControlBase ( ) : System | ||
Résultat | System |