diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-23 08:52:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 08:52:13 +0200 |
commit | 62c3e72b6f3e6fb628ffcb2d062dcbb5de304867 (patch) | |
tree | dccdf3ce6517b6a7ac72ba845ac747b92f06a302 /editor/plugins/text_editor.cpp | |
parent | 4fbfd10dccc297295e80407fb411de2506cb9838 (diff) | |
parent | 8be27dc59e3e330e10079ba8cbc999c80cab0ddc (diff) |
Merge pull request #63959 from KoBeWi/typo_arrray
Replace Array return types with TypedArray (part 1)
Diffstat (limited to 'editor/plugins/text_editor.cpp')
-rw-r--r-- | editor/plugins/text_editor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/text_editor.cpp b/editor/plugins/text_editor.cpp index 196d87da36..0900415b04 100644 --- a/editor/plugins/text_editor.cpp +++ b/editor/plugins/text_editor.cpp @@ -128,8 +128,8 @@ Control *TextEditor::get_base_editor() const { return code_editor->get_text_editor(); } -Array TextEditor::get_breakpoints() { - return Array(); +PackedInt32Array TextEditor::get_breakpoints() { + return PackedInt32Array(); } void TextEditor::reload_text() { @@ -165,7 +165,7 @@ void TextEditor::_update_bookmark_list() { bookmarks_menu->add_shortcut(ED_GET_SHORTCUT("script_text_editor/goto_next_bookmark"), BOOKMARK_GOTO_NEXT); bookmarks_menu->add_shortcut(ED_GET_SHORTCUT("script_text_editor/goto_previous_bookmark"), BOOKMARK_GOTO_PREV); - Array bookmark_list = code_editor->get_text_editor()->get_bookmarked_lines(); + PackedInt32Array bookmark_list = code_editor->get_text_editor()->get_bookmarked_lines(); if (bookmark_list.size() == 0) { return; } |