From fdb5561e55d492b6c585ae7f39f948fd886706a0 Mon Sep 17 00:00:00 2001 From: Maganty Rushyendra Date: Tue, 4 Aug 2020 13:05:48 +0800 Subject: [PATCH] Updated cursor positioning description for File open() Added more details about the cursor offsets for the different ModeFlags in the `File` class. (cherry picked from commit 5e77eea2167db1f3c3d974ebfda54dc67b9e9519) --- doc/classes/File.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/classes/File.xml b/doc/classes/File.xml index 5a280ad96b1..ea1973bcc01 100644 --- a/doc/classes/File.xml +++ b/doc/classes/File.xml @@ -451,16 +451,16 @@ - Opens the file for read operations. + Opens the file for read operations. The cursor is positioned at the beginning of the file. - Opens the file for write operations. Create it if the file does not exist and truncate if it exists. + Opens the file for write operations. The file is created if it does not exist, and truncated if it does. - Opens the file for read and write operations. Does not truncate the file. + Opens the file for read and write operations. Does not truncate the file. The cursor is positioned at the beginning of the file. - Opens the file for read and write operations. Create it if the file does not exist and truncate if it exists. + Opens the file for read and write operations. The file is created if it does not exist, and truncated if it does. The cursor is positioned at the beginning of the file. Uses the [url=http://fastlz.org/]FastLZ[/url] compression method.