EditorSproutyDialogsVariableEditor
Inherits: MarginContainer
Description
This module is the main interface for managing variables in the Sprouty Dialogs editor. It allows the user to add, remove, rename, filter and save variables. Variables can be organized into groups and support drag-and-drop reordering.
Properties
| Type | Name | Default |
|---|---|---|
| Control | plugin_editor | null |
| EditorUndoRedoManager | undo_redo | null |
Signals
signal variables_changed
Emitted when variables are saved.
signal variable_changed(var_data: Dictionary)
Emitted when a variable is changed.
signal open_text_editor(text: String)
Emitted when a text editor is called to edit a string variable.
signal update_text_editor(text: String)
Emitted when change the focus to another text box to update the text editor.
Property Descriptions
var plugin_editor : Control = null
Editor main reference. Used to check when the Sprouty Dialogs tab is visible and handle the save shortcut.
var undo_redo : EditorUndoRedoManager
UndoRedo manager for handling undo/redo operations in the variable editor.