API ReferenceEditor
ICodeEditorclass
Interface for editors to open code files. Any class that implements this interface is automatically added to the list. An editor is only enabled if `Editor.ICodeEditor.IsInstalled` returns true. Decorate your implementation with a `TitleAttribute`.
object→ICodeEditor
Methods4
Showing 4 methods
public virtual bool IsInstalled()
Whether or not this editor is installed.
Returns:
bool—public virtual void OpenAddon(Sandbox.Project addon)
Open given addon in the editor.
| Parameter | Type | Description |
|---|---|---|
| addon | Project | — |
Returns:
void—public virtual void OpenFile(string path, System.Nullable`1<int> line = null, System.Nullable`1<int> column = null)
| Parameter | Type | Description |
|---|---|---|
| path | string | — |
| line = null | Nullable<int> | — |
| column = null | Nullable<int> | — |
Returns:
void—public virtual void OpenSolution()
Open the solution of all sandbox projects
Returns:
void—No results match this filter.