summaryrefslogtreecommitdiffstats
path: root/scene/gui/control.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:33:18 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-19 19:33:18 +0100
commit65883cc73b0bedb14760e97f59a2c58b83b2470c (patch)
tree2656e3735f4a1f33ddb8b8b6a18528946b5a5a55 /scene/gui/control.cpp
parentab5c75b9ad9134cfca3952203042a9b5d87851b2 (diff)
parent5361ec9f43e454d0869c3ce0984fda34a95472a1 (diff)
downloadredot-engine-65883cc73b0bedb14760e97f59a2c58b83b2470c.tar.gz
Merge pull request #71598 from bruvzg/gdscript_bidi_override
Implement BiDi override mode for GDScript source.
Diffstat (limited to 'scene/gui/control.cpp')
-rw-r--r--scene/gui/control.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index 0de6696344..fead0878fb 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -2765,9 +2765,9 @@ void Control::end_bulk_theme_override() {
// Internationalization.
-TypedArray<Vector2i> Control::structured_text_parser(TextServer::StructuredTextParser p_parser_type, const Array &p_args, const String &p_text) const {
+TypedArray<Vector3i> Control::structured_text_parser(TextServer::StructuredTextParser p_parser_type, const Array &p_args, const String &p_text) const {
if (p_parser_type == TextServer::STRUCTURED_TEXT_CUSTOM) {
- TypedArray<Vector2i> ret;
+ TypedArray<Vector3i> ret;
GDVIRTUAL_CALL(_structured_text_parser, p_args, p_text, ret);
return ret;
} else {