Clarify store_string vs store_line.

While the behavior can be implied from the name, it seems worth stating
it explicitly.

(cherry picked from commit 2762821c08)
This commit is contained in:
Ryan Roden-Corrent 2020-09-30 19:04:26 -04:00 committed by Rémi Verschelde
parent 14fa64d289
commit 35d58c4435
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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">