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 /doc/classes/TextServerExtension.xml | |
parent | d9a74fd07f34ac756e6652156b14bb7acd13038f (diff) | |
parent | daa613333ec4ac53964e2ba3f22f10e0f5212991 (diff) |
Merge pull request #46721 from bruvzg/custom_word_break_punct
Diffstat (limited to 'doc/classes/TextServerExtension.xml')
-rw-r--r-- | doc/classes/TextServerExtension.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/classes/TextServerExtension.xml b/doc/classes/TextServerExtension.xml index cf7d4d0f52..684a1aa755 100644 --- a/doc/classes/TextServerExtension.xml +++ b/doc/classes/TextServerExtension.xml @@ -969,6 +969,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. </description> </method> + <method name="_shaped_text_get_custom_punctuation" qualifiers="virtual const"> + <return type="String" /> + <argument index="0" name="shaped" type="RID" /> + <description> + Returns custom punctuation character list, used for word breaking. If set to empty string, server defaults are used. + </description> + </method> <method name="_shaped_text_get_descent" qualifiers="virtual const"> <return type="float" /> <argument index="0" name="shaped" type="RID" /> @@ -1221,6 +1228,14 @@ Override ranges should cover full source text without overlaps. BiDi algorithm will be used on each range separately. </description> </method> + <method name="_shaped_text_set_custom_punctuation" qualifiers="virtual"> + <return type="void" /> + <argument index="0" name="shaped" type="RID" /> + <argument index="1" name="punct" type="String" /> + <description> + Sets custom punctuation character list, used for word breaking. If set to empty string, server defaults are used. + </description> + </method> <method name="_shaped_text_set_direction" qualifiers="virtual"> <return type="void" /> <argument index="0" name="shaped" type="RID" /> |