TextEditor.Load (gb.form.editor)
Sub Load ( Path As String [ , AddNewLine As Boolean ] )
Load a file into the editor.
-
Path is the path of the file to load.
-
If AddNewLine is
TRUE
, then a newline will be added to the end of the file if there is not.
Loads a file from "Path" into the
TextEditor optionally ensuring the last character is a newline.
TextEditor1.Load("/Filepath/Filename.txt", True)
This will load the file "/Filepath/Filename.txt" into the Editor and make sure the last
line of text is a blank newline (Adds a Newline if the last line contains any text)