ScriptEditor

Godot editor's script editor.

Note: This class shouldn't be instantiated directly. Instead, access the singleton using EditorInterface.getScriptEditor.

@GodotBaseClass
struct ScriptEditor {}

Members

Aliases

BaseClasses
alias BaseClasses = AliasSeq!(typeof(_GODOT_base), typeof(_GODOT_base).BaseClasses)
Undocumented in source.

Functions

_addCallback
void _addCallback(GodotObject arg0, String arg1, PoolStringArray arg2)
_autosaveScripts
void _autosaveScripts()
_breaked
void _breaked(bool arg0, bool arg1)
_clearExecution
void _clearExecution(Reference arg0)
_closeAllTabs
void _closeAllTabs()
_closeCurrentTab
void _closeCurrentTab(bool arg0)
_closeDiscardCurrentTab
void _closeDiscardCurrentTab(String arg0)
_closeDocsTab
void _closeDocsTab()
_closeOtherTabs
void _closeOtherTabs()
_copyScriptPath
void _copyScriptPath()
_editorPause
void _editorPause()
_editorPlay
void _editorPlay()
_editorSettingsChanged
void _editorSettingsChanged()
_editorStop
void _editorStop()
_fileDialogAction
void _fileDialogAction(String arg0)
_filterMethodsTextChanged
void _filterMethodsTextChanged(String arg0)
_filterScriptsTextChanged
void _filterScriptsTextChanged(String arg0)
_getDebugTooltip
String _getDebugTooltip(String arg0, Node arg1)
_gotoScriptLine
void _gotoScriptLine(Reference arg0, long arg1)
_gotoScriptLine2
void _gotoScriptLine2(long arg0)
_helpClassGoto
void _helpClassGoto(String arg0)
_helpClassOpen
void _helpClassOpen(String arg0)
_helpOverviewSelected
void _helpOverviewSelected(long arg0)
_helpSearch
void _helpSearch(String arg0)
_historyBack
void _historyBack()
_historyForward
void _historyForward()
_liveAutoReloadRunningScripts
void _liveAutoReloadRunningScripts()
_membersOverviewSelected
void _membersOverviewSelected(long arg0)
_menuOption
void _menuOption(long arg0)
_onFindInFilesModifiedFiles
void _onFindInFilesModifiedFiles(PoolStringArray arg0)
_onFindInFilesRequested
void _onFindInFilesRequested(String arg0)
_onFindInFilesResultSelected
void _onFindInFilesResultSelected(String arg0, long arg1, long arg2, long arg3)
_openRecentScript
void _openRecentScript(long arg0)
_reloadScripts
void _reloadScripts()
_requestHelp
void _requestHelp(String arg0)
_resSavedCallback
void _resSavedCallback(Resource arg0)
_resaveScripts
void _resaveScripts(String arg0)
_saveHistory
void _saveHistory()
_scriptChanged
void _scriptChanged()
_scriptCreated
void _scriptCreated(Script arg0)
_scriptListGuiInput
void _scriptListGuiInput(InputEvent arg0)
_scriptSelected
void _scriptSelected(long arg0)
_scriptSplitDragged
void _scriptSplitDragged(double arg0)
_setExecution
void _setExecution(Reference arg0, long arg1)
_showDebugger
void _showDebugger(bool arg0)
_startFindInFiles
void _startFindInFiles(bool arg0)
_tabChanged
void _tabChanged(long arg0)
_themeOption
void _themeOption(long arg0)
_toggleMembersOverviewAlphaSort
void _toggleMembersOverviewAlphaSort(bool arg0)
_treeChanged
void _treeChanged()
_unhandledInput
void _unhandledInput(InputEvent arg0)
_updateAutosaveTimer
void _updateAutosaveTimer()
_updateMembersOverview
void _updateMembersOverview()
_updateRecentScripts
void _updateRecentScripts()
_updateScriptConnections
void _updateScriptConnections()
_updateScriptNames
void _updateScriptNames()
canDropDataFw
bool canDropDataFw(Vector2 point, VariantArg1 data, Control from)
dropDataFw
void dropDataFw(Vector2 point, VariantArg1 data, Control from)
getCurrentScript
Ref!Script getCurrentScript()

Returns a Script that is currently active in editor.

getDragDataFw
Variant getDragDataFw(Vector2 point, Control from)
getOpenScripts
Array getOpenScripts()

Returns an array with all Script objects which are currently open in editor.

gotoLine
void gotoLine(long line_number)

Goes to the specified line in the current script.

opAssign
typeof(null) opAssign(typeof(null) n)
opEquals
bool opEquals(ScriptEditor other)
opEquals
bool opEquals(typeof(null) n)
openScriptCreateDialog
void openScriptCreateDialog(String base_name, String base_path)

Opens the script create dialog. The script will extend base_name. The file extension can be omitted from base_path. It will be added based on the selected scripting language.

toHash
size_t toHash()

Mixins

__anonymous
mixin baseCasts
Undocumented in source.

Static functions

_new
ScriptEditor _new()

Construct a new instance of ScriptEditor. Note: use memnew!ScriptEditor instead.

Static variables

_classBindingInitialized
bool _classBindingInitialized;
Undocumented in source.

Structs

GDNativeClassBinding
struct GDNativeClassBinding
Undocumented in source.

Unions

__anonymous
union __anonymous
Undocumented in source.

Variables

_GODOT_internal_name
enum string _GODOT_internal_name;
Undocumented in source.

Mixed In Members

From mixin baseCasts

as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(To) as()
Undocumented in source. Be warned that the author may not have intended to support it.
as
inout(ToRef) as()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(To)
Undocumented in source.
opCast
template opCast(ToRef)
Undocumented in source.
opCast
void* opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
godot_object opCast()
Undocumented in source. Be warned that the author may not have intended to support it.
opCast
bool opCast()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta