diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-05-16 02:38:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 02:38:21 +0200 |
commit | 69cafb6044cc2f438da7381eb1e3eb1dd8e4c45c (patch) | |
tree | 1c3de2add8be9039d889dd97bec15857435b60f4 /scene | |
parent | 6f4a90592fa2f8142fa34871a564f012a034bc75 (diff) | |
parent | 0f303c9f43e22f9905d7955d5f3ade146558b3f6 (diff) |
Merge pull request #18910 from PJB3005/18-05-15-fix-textedit-param
Fix missing registration for new param of TextEdit::cursor_set_line.
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/text_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 34365d0123..c6ff8489c0 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -5995,7 +5995,7 @@ void TextEdit::_bind_methods() { ClassDB::bind_method(D_METHOD("get_line", "line"), &TextEdit::get_line); ClassDB::bind_method(D_METHOD("cursor_set_column", "column", "adjust_viewport"), &TextEdit::cursor_set_column, DEFVAL(true)); - ClassDB::bind_method(D_METHOD("cursor_set_line", "line", "adjust_viewport", "can_be_hidden"), &TextEdit::cursor_set_line, DEFVAL(true), DEFVAL(true)); + ClassDB::bind_method(D_METHOD("cursor_set_line", "line", "adjust_viewport", "can_be_hidden", "wrap_index"), &TextEdit::cursor_set_line, DEFVAL(true), DEFVAL(true), DEFVAL(0)); ClassDB::bind_method(D_METHOD("cursor_get_column"), &TextEdit::cursor_get_column); ClassDB::bind_method(D_METHOD("cursor_get_line"), &TextEdit::cursor_get_line); |