From bbc06c7cc883ccedc9c311d2dad96a49357a3f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 28 Feb 2024 13:46:01 +0100 Subject: [PATCH] RTL: Clarify that line, paragraph, and character numbers are zero-indexed Closes #82885. (cherry picked from commit 4a1397b58cf3cbdddf657efc575c6066860daf6d) --- doc/classes/RichTextLabel.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/RichTextLabel.xml b/doc/classes/RichTextLabel.xml index 623fddcb4ce..2703428c0ba 100644 --- a/doc/classes/RichTextLabel.xml +++ b/doc/classes/RichTextLabel.xml @@ -62,7 +62,7 @@ - Returns the line number of the character position provided. + Returns the line number of the character position provided. Line and character numbers are both zero-indexed. [b]Note:[/b] If [member threaded] is enabled, this method returns a value for the loaded part of the document. Use [method is_ready] or [signal finished] to determine whether document is fully loaded. @@ -70,7 +70,7 @@ - Returns the paragraph number of the character position provided. + Returns the paragraph number of the character position provided. Paragraph and character numbers are both zero-indexed. [b]Note:[/b] If [member threaded] is enabled, this method returns a value for the loaded part of the document. Use [method is_ready] or [signal finished] to determine whether document is fully loaded.