diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-03-06 11:52:16 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2021-10-01 16:45:16 +0300 |
commit | daa613333ec4ac53964e2ba3f22f10e0f5212991 (patch) | |
tree | 04308e3c942342e03405ce129896546a497cb3ed /modules/text_server_adv/text_server_adv.h | |
parent | 928c002f223b67bd6fd1c55d65e37a6d5c4e3a94 (diff) |
[Text Server] Add support for user defined punctuation list, used for word breaking.
Diffstat (limited to 'modules/text_server_adv/text_server_adv.h')
-rw-r--r-- | modules/text_server_adv/text_server_adv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/text_server_adv/text_server_adv.h b/modules/text_server_adv/text_server_adv.h index 1feeada76d..afb46c22e2 100644 --- a/modules/text_server_adv/text_server_adv.h +++ b/modules/text_server_adv/text_server_adv.h @@ -436,6 +436,9 @@ public: virtual void shaped_text_set_bidi_override(RID p_shaped, const Array &p_override) override; + virtual void shaped_text_set_custom_punctuation(RID p_shaped, const String &p_punct) override; + virtual String shaped_text_get_custom_punctuation(RID p_shaped) const override; + virtual void shaped_text_set_orientation(RID p_shaped, Orientation p_orientation = ORIENTATION_HORIZONTAL) override; virtual Orientation shaped_text_get_orientation(RID p_shaped) const override; |