Method | Description | |
---|---|---|
Activate ( ) : void |
Makes the tab active and notifies the underlying document that it has received focus.
|
|
Close ( bool forceClose = false ) : bool |
Closes the tab.
|
|
Copy ( ) : void |
Sends a Copy command to the document view.
|
|
Cut ( ) : void |
Sends a Cut command to the document view.
|
|
Deactivate ( ) : void |
Notifies the underlying document that it has lost focus.
|
|
Dispose ( ) : void | ||
DocumentTab ( |
Creates a new Sphere Studio document tab.
|
|
Paste ( ) : void |
Sends a Paste command to the document view.
|
|
PromptSave ( ) : bool |
Prompts the user to save a modified document. The document will remain open afterwards.
|
|
Redo ( ) : void |
Sends a Redo command to the document view.
|
|
Restyle ( ) : void |
Notifies the document that a styling option changed.
|
|
Save ( string path = null ) : bool |
Saves the document in this tab. If the document hasn't been saved yet, the user will be asked to provide a filename.
|
|
SaveAs ( string path = null ) : bool |
Saves the document in this tab with a filename provided by the user.
|
|
SaveIfDirty ( ) : bool | ||
Undo ( ) : void |
Sends an Undo command to the document view.
|
|
ZoomIn ( ) : void |
Sends a Zoom In command to the document view.
|
|
ZoomOut ( ) : void |
Sends a Zoom Out command to the document view.
|
Method | Description | |
---|---|---|
SaveViewState ( ) : void | ||
UpdateTabText ( ) : void | ||
on_BreakpointSet ( object sender, |
||
on_DirtyChanged ( object sender, |
||
on_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void | ||
on_FormClosing ( object sender, |
public Close ( bool forceClose = false ) : bool | ||
forceClose | bool | 'true' to bypass the Unsaved Changes prompt. |
return | bool |
public DocumentTab ( |
||
ide | The IDE form that the tab will be created in. | |
view | The IDocumentView the tab is hosting. | |
fileName | string | The fully-qualified filename of the document, or null if untitled. |
restoreView | bool | 'true' to restore the last saved view state. Has no effect on untitled tabs. |
return | System |
public Save ( string path = null ) : bool | ||
path | string | The default directory for the Save As dialog. |
return | bool |
public SaveAs ( string path = null ) : bool | ||
path | string | The default directory for the Save As dialog. |
return | bool |