summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-10-01 13:21:11 +0200
committerGitHub <noreply@github.com>2020-10-01 13:21:11 +0200
commit63d158ff6227b5bdf76c25b7ee0cd741187fbd7f (patch)
treeb7a5395862be7b0a936be4019916d5fcda020e43
parent42f20985093fee4528c83d8104cba49734ab51b9 (diff)
parent2762821c08ef011dd44381fd55b6569f99bad41b (diff)
Merge pull request #42442 from rcorre/file_doc
Clarify store_string vs store_line.
-rw-r--r--doc/classes/File.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/classes/File.xml b/doc/classes/File.xml
index f1b9106d35..9a94231cc1 100644
--- a/doc/classes/File.xml
+++ b/doc/classes/File.xml
@@ -399,8 +399,7 @@
<argument index="0" name="line" type="String">
</argument>
<description>
- Stores the given [String] as a line in the file.
- Text will be encoded as UTF-8.
+ Appends [code]line[/code] to the file followed by a line return character ([code]\n[/code]), encoding the text as UTF-8.
</description>
</method>
<method name="store_pascal_string">
@@ -428,8 +427,7 @@
<argument index="0" name="string" type="String">
</argument>
<description>
- Stores the given [String] in the file.
- Text will be encoded as UTF-8.
+ Appends [code]string[/code] to the file without a line return, encoding the text as UTF-8.
</description>
</method>
<method name="store_var">