DSourceEdit

DIDE source file editor

Constructors

this
this(string ID)
Undocumented in source.
this
this()
Undocumented in source.

Members

Functions

applySettings
void applySettings()
Undocumented in source. Be warned that the author may not have intended to support it.
handleAction
bool handleAction(Action a)

override to handle specific actions

handleActionStateRequest
bool handleActionStateRequest(Action a)

override to handle specific actions state (e.g. change enabled state for supported actions)

importPaths
string[] importPaths()

returns project import paths - if file from project is opened in current editor

insertCompletion
void insertCompletion(dstring completionText)
Undocumented in source. Be warned that the author may not have intended to support it.
load
bool load(string fn)

load by filename

load
bool load(ProjectSourceFile f)

load by project item

onThemeChanged
void onThemeChanged()

handle theme change: e.g. reload some themed resources

save
bool save()

save to the same file

setSyntaxSupport
void setSyntaxSupport()
Undocumented in source. Be warned that the author may not have intended to support it.
showCompletionPopup
void showCompletionPopup(dstring[] suggestions)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

editorTool
EditorTool editorTool [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
editorTool
EditorTool editorTool [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isDSourceFile
bool isDSourceFile [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
projectSourceFile
ProjectSourceFile projectSourceFile [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
settings
IDESettings settings [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
settings
IDESettings settings [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_editorTool
EditorTool _editorTool;
Undocumented in source.
_projectSourceFile
ProjectSourceFile _projectSourceFile;
Undocumented in source.
_settings
IDESettings _settings;
Undocumented in source.

Meta