summaryrefslogtreecommitdiffstats
path: root/scene/resources/text_paragraph.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-11-09 00:13:59 +0100
committerGitHub <noreply@github.com>2021-11-09 00:13:59 +0100
commit59686536622473e14b253268354ecfbae63d0d58 (patch)
treee5e80d83546613dc9aba31624e196bf0920f2905 /scene/resources/text_paragraph.h
parentd9a74fd07f34ac756e6652156b14bb7acd13038f (diff)
parentdaa613333ec4ac53964e2ba3f22f10e0f5212991 (diff)
downloadredot-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.h3
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();