IEditor¶
-
public interface
IEditor
¶ Interface for an editor in an IDE.
Methods¶
disable¶
-
void
disable
()¶ Disables parsing, analysis, and implementation-specific services. Does nothing if editor has not been initialized, or if it has been disposed, or if the editor is already disabled.
enable¶
-
void
enable
()¶ Enables parsing, analysis, and implementation-specific services. Does nothing if editor has not been initialized, or if it has been disposed, or if the editor is already enabled.
forceUpdate¶
-
void
forceUpdate
()¶ Force a parser, analysis, and implementation-specific update. Does nothing if editor has not been initialized, or if it has been disposed.
language¶
-
ILanguageImpl
language
()¶ Returns: Language of the current input resource. Null if the editor has not been initialized yet, if it has been disposed, or if the editor was opened before languages were loaded.
reconfigure¶
-
void
reconfigure
()¶ Reconfigure the editor, updates its language and performs any implementation-specific reconfiguration. Does nothing if editor has not been initialized, or if it has been disposed.
resource¶
-
FileObject
resource
()¶ Returns: Current resource. Null if the editor has not been initialized yet, or if it has been disposed.