aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmmanuel Leblond2017-01-08 11:47:41 +0100
committerRémi Verschelde2017-01-08 12:34:39 +0100
commit28d74862677f6d0d94fbfffb305750da41f77930 (patch)
tree329e30e93cde072bcf73bb7fd9080ad39183d891 /doc
parent02fbd10230221ee931a450c13bed1d071d97a8f1 (diff)
downloadgodot-28d74862677f6d0d94fbfffb305750da41f77930.tar.gz
godot-28d74862677f6d0d94fbfffb305750da41f77930.tar.zst
godot-28d74862677f6d0d94fbfffb305750da41f77930.zip
Fix codeblock tag in classes.xml for EditorSettings
Diffstat (limited to 'doc')
-rw-r--r--doc/base/classes.xml20
1 files changed, 11 insertions, 9 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 4be1666e5..f84df42d5 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -12293,17 +12293,19 @@
</argument>
<description>
Add a custom property info to a property. The dictionary must contain: name:[String](the name of the property) and type:[int](see TYPE_* in [@Global Scope]), and optionally hint:[int](see PROPERTY_HINT_* in [@Global Scope]), hint_string:[String].
- Example:[codeblock]
- editor_settings.set("category/property_name", 0)
+ Example:
+ [codeblock]
+ editor_settings.set("category/property_name", 0)
- var property_info = {
- "name": "category/property_name",
- "type": TYPE_INT,
- "hint": PROPERTY_HINT_ENUM,
- "hint_string": "one,two,three"
- }
+ var property_info = {
+ "name": "category/property_name",
+ "type": TYPE_INT,
+ "hint": PROPERTY_HINT_ENUM,
+ "hint_string": "one,two,three"
+ }
- editor_settings.add_property_info(property_info)[/codeblock]
+ editor_settings.add_property_info(property_info)
+ [/codeblock]
</description>
</method>
<method name="erase">