Method | Description | |
---|---|---|
Activate ( ) : void |
Notifies the document that it received focus.
|
|
Copy ( ) : void |
Copies the current selection to the clipboard.
|
|
Cut ( ) : void |
Deletes the selected content and puts it on the clipbord.
|
|
Deactivate ( ) : void |
Notifies the document that it lost focus.
|
|
Load ( string filename ) : void |
Loads a file into the document view.
|
|
NewDocument ( ) : bool |
Sets up the document view for a new file.
|
|
Paste ( ) : void |
Pastes the contents of the clipboard into the document.
|
|
Redo ( ) : void |
Reverts the last Undo operation. If the document has been modified since the last Undo, this does nothing.
|
|
Restyle ( ) : void |
Refreshes the document when the UI style has changed.
|
|
Save ( string filename ) : void |
Saves the contents of the document to a specified filename.
|
|
Undo ( ) : void |
Undoes the user's last modification to the document.
|
|
ZoomIn ( ) : void |
Increases the document zoom level.
|
|
ZoomOut ( ) : void |
Decreases the document zoom level.
|
public Load ( string filename ) : void | ||
filename | string | The filename of the file to load. |
return | void |
public Save ( string filename ) : void | ||
filename | string | The filename to save under. |
return | void |