Fix typo in CodeEdit methods

This commit is contained in:
Haoyu Qiu 2021-06-16 22:15:29 +08:00
parent 34e308e044
commit bf5f13e6a0
2 changed files with 4 additions and 4 deletions

View file

@ -184,7 +184,7 @@
Gets the end key for a string or comment region index.
</description>
</method>
<method name="get_delimiter_end_postion" qualifiers="const">
<method name="get_delimiter_end_position" qualifiers="const">
<return type="Vector2">
</return>
<argument index="0" name="line" type="int">
@ -204,7 +204,7 @@
Gets the start key for a string or comment region index.
</description>
</method>
<method name="get_delimiter_start_postion" qualifiers="const">
<method name="get_delimiter_start_position" qualifiers="const">
<return type="Vector2">
</return>
<argument index="0" name="line" type="int">

View file

@ -1121,8 +1121,8 @@ void CodeEdit::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_delimiter_start_key", "delimiter_index"), &CodeEdit::get_delimiter_start_key);
ClassDB::bind_method(D_METHOD("get_delimiter_end_key", "delimiter_index"), &CodeEdit::get_delimiter_end_key);
ClassDB::bind_method(D_METHOD("get_delimiter_start_postion", "line", "column"), &CodeEdit::get_delimiter_start_position);
ClassDB::bind_method(D_METHOD("get_delimiter_end_postion", "line", "column"), &CodeEdit::get_delimiter_end_position);
ClassDB::bind_method(D_METHOD("get_delimiter_start_position", "line", "column"), &CodeEdit::get_delimiter_start_position);
ClassDB::bind_method(D_METHOD("get_delimiter_end_position", "line", "column"), &CodeEdit::get_delimiter_end_position);
/* Code hint */
ClassDB::bind_method(D_METHOD("set_code_hint", "code_hint"), &CodeEdit::set_code_hint);