summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas ten Cate <ttencate@gmail.com>2018-11-15 12:34:08 +0100
committerThomas ten Cate <ttencate@gmail.com>2018-11-15 12:34:08 +0100
commit922f2d613ff53d6de09e1756525226de06db6a9c (patch)
treee85eb0657432dca9863f0a53bbc13fee622bcb6d /doc
parent397b12727cf65a111717142efddb55fd751b1528 (diff)
Fix return value of get_total_character_count
Also document that it only counts visible characters. Fixes #23720
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Label.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Label.xml b/doc/classes/Label.xml
index 1e78a196b1..90547b7c2f 100644
--- a/doc/classes/Label.xml
+++ b/doc/classes/Label.xml
@@ -30,7 +30,7 @@
<return type="int">
</return>
<description>
- Returns the total length of the text.
+ Returns the total number of printable characters in the text (excluding spaces and newlines).
</description>
</method>
<method name="get_visible_line_count" qualifiers="const">