From 1e646e279732675eaa6ace8a109ae5142a058959 Mon Sep 17 00:00:00 2001 From: Emmanuel Leblond Date: Sun, 8 Jan 2017 11:47:41 +0100 Subject: [PATCH] Fix codeblock tag in classes.xml for EditorSettings (cherry picked from commit 28d74862677f6d0d94fbfffb305750da41f77930) --- doc/base/classes.xml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 3e36ff7f05c..31460b360af 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -11916,17 +11916,19 @@ 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]