浏览代码

Fix method names

Several referenced method names are missing the leading underscore.
Eric Lathrop 1 年之前
父节点
当前提交
38f1683e7c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tutorials/plugins/editor/inspector_plugins.rst

+ 2 - 2
tutorials/plugins/editor/inspector_plugins.rst

@@ -98,12 +98,12 @@ return ``true`` if this plugin should handle the object or its properties.
 .. note:: This includes any :ref:`class_Resource` attached to the object.
 .. note:: This includes any :ref:`class_Resource` attached to the object.
 
 
 You can implement four other methods to add controls to the inspector at
 You can implement four other methods to add controls to the inspector at
-specific positions. The ``parse_begin()`` and ``parse_end()`` methods are called
+specific positions. The ``_parse_begin()`` and ``_parse_end()`` methods are called
 only once at the beginning and the end of parsing for each object, respectively.
 only once at the beginning and the end of parsing for each object, respectively.
 They can add controls at the top or bottom of the inspector layout by calling
 They can add controls at the top or bottom of the inspector layout by calling
 ``add_custom_control()``.
 ``add_custom_control()``.
 
 
-As the editor parses the object, it calls the ``parse_category()`` and
+As the editor parses the object, it calls the ``_parse_category()`` and
 ``_parse_property()`` methods. There, in addition to ``add_custom_control()``,
 ``_parse_property()`` methods. There, in addition to ``add_custom_control()``,
 you can call both ``add_property_editor()`` and
 you can call both ``add_property_editor()`` and
 ``add_property_editor_for_multiple_properties()``. Use these last two methods to
 ``add_property_editor_for_multiple_properties()``. Use these last two methods to