diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-11-09 00:13:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 00:13:59 +0100 |
commit | 59686536622473e14b253268354ecfbae63d0d58 (patch) | |
tree | e5e80d83546613dc9aba31624e196bf0920f2905 /scene/resources/text_paragraph.h | |
parent | d9a74fd07f34ac756e6652156b14bb7acd13038f (diff) | |
parent | daa613333ec4ac53964e2ba3f22f10e0f5212991 (diff) | |
download | redot-engine-59686536622473e14b253268354ecfbae63d0d58.tar.gz |
Merge pull request #46721 from bruvzg/custom_word_break_punct
Diffstat (limited to 'scene/resources/text_paragraph.h')
-rw-r--r-- | scene/resources/text_paragraph.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/resources/text_paragraph.h b/scene/resources/text_paragraph.h index 701c9a17cd..4c4af43d14 100644 --- a/scene/resources/text_paragraph.h +++ b/scene/resources/text_paragraph.h @@ -96,6 +96,9 @@ public: void set_bidi_override(const Array &p_override); + void set_custom_punctuation(const String &p_punct); + String get_custom_punctuation() const; + bool set_dropcap(const String &p_text, const Ref<Font> &p_fonts, int p_size, const Rect2 &p_dropcap_margins = Rect2(), const Dictionary &p_opentype_features = Dictionary(), const String &p_language = ""); void clear_dropcap(); |