Api Editor ICodeEditor
interface

ICodeEditor

public interface ICodeEditor

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 IsInstalled returns true. Decorate your implementation with a TitleAttribute.

Methods

virtual Void OpenFile(String path, Int32? line = null, Int32? column = null)
virtual Void OpenSolution()

Open the solution of all sandbox projects

virtual Void OpenAddon(Project addon)

Open given addon in the editor.

virtual Boolean IsInstalled()

Whether or not this editor is installed.

Assembly: Sandbox.Tools Namespace: Editor Full Name: Editor.ICodeEditor