[TextServer] Expose ICU title case string conversion to scripting.

This commit is contained in:
bruvzg 2024-04-04 10:56:49 +03:00
parent f47f4a02c8
commit 27f6f4147b
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38
10 changed files with 66 additions and 0 deletions

View file

@ -491,6 +491,7 @@ void TextServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("string_to_upper", "string", "language"), &TextServer::string_to_upper, DEFVAL(""));
ClassDB::bind_method(D_METHOD("string_to_lower", "string", "language"), &TextServer::string_to_lower, DEFVAL(""));
ClassDB::bind_method(D_METHOD("string_to_title", "string", "language"), &TextServer::string_to_title, DEFVAL(""));
ClassDB::bind_method(D_METHOD("parse_structured_text", "parser_type", "args", "text"), &TextServer::parse_structured_text);