summaryrefslogtreecommitdiffstats
path: root/servers/text_server.cpp
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2024-03-11 16:28:58 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2024-03-12 11:28:45 +0200
commit433de7f1a86191d912d8cd5e2ed53e76916170fe (patch)
treeaa9cc6264c800881aa5ed93caaa8cbe3b5eab7aa /servers/text_server.cpp
parentf040a351c2f27c6b86c40c71a28babf99dd0b9bd (diff)
downloadredot-engine-433de7f1a86191d912d8cd5e2ed53e76916170fe.tar.gz
[RTL] Use "visible characters" property for inline object visibility
Diffstat (limited to 'servers/text_server.cpp')
-rw-r--r--servers/text_server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/text_server.cpp b/servers/text_server.cpp
index d1dadbc839..9cba968026 100644
--- a/servers/text_server.cpp
+++ b/servers/text_server.cpp
@@ -443,6 +443,8 @@ void TextServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("shaped_text_get_objects", "shaped"), &TextServer::shaped_text_get_objects);
ClassDB::bind_method(D_METHOD("shaped_text_get_object_rect", "shaped", "key"), &TextServer::shaped_text_get_object_rect);
+ ClassDB::bind_method(D_METHOD("shaped_text_get_object_range", "shaped", "key"), &TextServer::shaped_text_get_object_range);
+ ClassDB::bind_method(D_METHOD("shaped_text_get_object_glyph", "shaped", "key"), &TextServer::shaped_text_get_object_glyph);
ClassDB::bind_method(D_METHOD("shaped_text_get_size", "shaped"), &TextServer::shaped_text_get_size);
ClassDB::bind_method(D_METHOD("shaped_text_get_ascent", "shaped"), &TextServer::shaped_text_get_ascent);