summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2023-05-11 04:17:03 +0200
committerHendrik Brucker <hendrik.brucker@mail.de>2023-05-11 04:17:03 +0200
commitdc46163b121993229fedc7853000bd9bcb9ec2de (patch)
treec699ce969c8c13e5278dc57e8e5f61ab06333f9f /doc
parent74c34aed38cecf502c257938d268d5f522557a0e (diff)
downloadredot-engine-dc46163b121993229fedc7853000bd9bcb9ec2de.tar.gz
Improve editor state persistence
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/EditorSettings.xml3
-rw-r--r--doc/classes/TreeItem.xml20
2 files changed, 21 insertions, 2 deletions
diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml
index b45e03dc38..6a27bff763 100644
--- a/doc/classes/EditorSettings.xml
+++ b/doc/classes/EditorSettings.xml
@@ -416,6 +416,9 @@
<member name="editors/polygon_editor/show_previous_outline" type="bool" setter="" getter="">
If [code]true[/code], displays the polygon's previous shape in the 2D polygon editors with an opaque gray outline. This outline is displayed while dragging a point until the left mouse button is released.
</member>
+ <member name="editors/shader_editor/behavior/files/restore_shaders_on_load" type="bool" setter="" getter="">
+ If [code]true[/code], reopens shader files that were open in the shader editor when the project was last closed.
+ </member>
<member name="editors/tiles_editor/display_grid" type="bool" setter="" getter="">
If [code]true[/code], displays a grid while the TileMap editor is active. See also [member editors/tiles_editor/grid_color].
</member>
diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml
index b97b4bf17d..6b6851daf1 100644
--- a/doc/classes/TreeItem.xml
+++ b/doc/classes/TreeItem.xml
@@ -226,11 +226,19 @@
Returns the next sibling TreeItem in the tree or a null object if there is none.
</description>
</method>
+ <method name="get_next_in_tree">
+ <return type="TreeItem" />
+ <param index="0" name="wrap" type="bool" default="false" />
+ <description>
+ Returns the next TreeItem in the tree (in the context of a depth-first search) or a [code]null[/code] object if there is none.
+ If [param wrap] is enabled, the method will wrap around to the first element in the tree when called on the last element, otherwise it returns [code]null[/code].
+ </description>
+ </method>
<method name="get_next_visible">
<return type="TreeItem" />
<param index="0" name="wrap" type="bool" default="false" />
<description>
- Returns the next visible sibling TreeItem in the tree or a null object if there is none.
+ Returns the next visible TreeItem in the tree (in the context of a depth-first search) or a [code]null[/code] object if there is none.
If [param wrap] is enabled, the method will wrap around to the first visible element in the tree when called on the last visible element, otherwise it returns [code]null[/code].
</description>
</method>
@@ -246,11 +254,19 @@
Returns the previous sibling TreeItem in the tree or a null object if there is none.
</description>
</method>
+ <method name="get_prev_in_tree">
+ <return type="TreeItem" />
+ <param index="0" name="wrap" type="bool" default="false" />
+ <description>
+ Returns the previous TreeItem in the tree (in the context of a depth-first search) or a [code]null[/code] object if there is none.
+ If [param wrap] is enabled, the method will wrap around to the last element in the tree when called on the first visible element, otherwise it returns [code]null[/code].
+ </description>
+ </method>
<method name="get_prev_visible">
<return type="TreeItem" />
<param index="0" name="wrap" type="bool" default="false" />
<description>
- Returns the previous visible sibling TreeItem in the tree or a null object if there is none.
+ Returns the previous visible sibling TreeItem in the tree (in the context of a depth-first search) or a [code]null[/code] object if there is none.
If [param wrap] is enabled, the method will wrap around to the last visible element in the tree when called on the first visible element, otherwise it returns [code]null[/code].
</description>
</method>