From daa613333ec4ac53964e2ba3f22f10e0f5212991 Mon Sep 17 00:00:00 2001
From: bruvzg <7645683+bruvzg@users.noreply.github.com>
Date: Sat, 6 Mar 2021 11:52:16 +0200
Subject: [Text Server] Add support for user defined punctuation list, used for
word breaking.
---
doc/classes/TextParagraph.xml | 3 +++
doc/classes/TextServer.xml | 15 +++++++++++++++
doc/classes/TextServerExtension.xml | 15 +++++++++++++++
3 files changed, 33 insertions(+)
(limited to 'doc/classes')
diff --git a/doc/classes/TextParagraph.xml b/doc/classes/TextParagraph.xml
index e06dfee698..808e1d9ac4 100644
--- a/doc/classes/TextParagraph.xml
+++ b/doc/classes/TextParagraph.xml
@@ -278,6 +278,9 @@
Paragraph horizontal alignment.
+
+ Custom punctuation character list, used for word breaking. If set to empty string, server defaults are used.
+
Text writing direction.
diff --git a/doc/classes/TextServer.xml b/doc/classes/TextServer.xml
index 18ace85465..3dec669b86 100644
--- a/doc/classes/TextServer.xml
+++ b/doc/classes/TextServer.xml
@@ -911,6 +911,13 @@
Returns shapes of the carets corresponding to the character offset [code]position[/code] in the text. Returned caret shape is 1 pixel wide rectangle.
+
+
+
+
+ Returns custom punctuation character list, used for word breaking. If set to empty string, server defaults are used.
+
+
@@ -1161,6 +1168,14 @@
Override ranges should cover full source text without overlaps. BiDi algorithm will be used on each range separately.
+
+
+
+
+
+ Sets custom punctuation character list, used for word breaking. If set to empty string, server defaults are used.
+
+
diff --git a/doc/classes/TextServerExtension.xml b/doc/classes/TextServerExtension.xml
index 29571463d2..6d89b9751e 100644
--- a/doc/classes/TextServerExtension.xml
+++ b/doc/classes/TextServerExtension.xml
@@ -918,6 +918,13 @@
Returns shapes of the carets corresponding to the character offset [code]position[/code] in the text. Returned caret shape is 1 pixel wide rectangle.
+
+
+
+
+ Returns custom punctuation character list, used for word breaking. If set to empty string, server defaults are used.
+
+
@@ -1170,6 +1177,14 @@
Override ranges should cover full source text without overlaps. BiDi algorithm will be used on each range separately.
+
+
+
+
+
+ Sets custom punctuation character list, used for word breaking. If set to empty string, server defaults are used.
+
+
--
cgit v1.2.3