Merge pull request #49657 from timothyqiu/postion
Fix typo in CodeEdit methods
This commit is contained in:
commit
48fe9c9794
2 changed files with 4 additions and 4 deletions
|
@ -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">
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue