DXCore Services – Editor
October 27th, 2010
The Editor service provides methods and properties for the IDE code editor. It is is similar to the Designer service.
Here are its methods:
Name |
Description |
Activate(Document) | Activates (gives focus to) or opens the form designer for the specified document. |
Activate(Document, Boolean) | Activates (gives focus to) or opens the form designer for the specified document. Takes a boolean parameter that specifies whether to force opening a designer for the document if it is not found. |
ShowDesigner | Shows the code view corresponding to the current designer. |
ToggleCodeAndDesignerViews | Switches the view between code and designer views. |
Properties:
Name |
Description |
Active | Returns the active TextWindow object. |
AllowEditsWhileDebugging | Indicates whether or not language service allows writing to the active text document during debugging. |
HasFocus | True if an edit window has focus. |
IncrementalSearchActive | Returns true if incremental searching is activated. |