Gfa_Col [= c%]
Gfa_Line [= %]
Gfa_Left [n% = 1]
Gfa_Right [n% = 1]
Gfa_Down [n% = 1]
Gfa_Up [n% = 1]
Gfa_PageDown
Gfa_PageUp
Gfa_Col [= c%] returns or sets the current column position.
Gfa_Col= moves the cursor to the column n (0 <= n <= line length) When n < 0, then 0 will be used, when n > line length, the line length will be used.
To set the cursor at the end of the line use Gfa_Col = _maxInt.
Gfa_Line [= %] returns or sets the current line. Moves the cursor to the specified line.
Gfa_Left [n% = 1] moves the cursor one or more characters to the left. The movement is not stopped at the beginning of the line. The parameter value can be negative, in which case the movement is in the opposite direction.
Gfa_Right [n% = 1] moves the cursor one or more characters to the right. The movement is not stopped at the end of the line. The parameter value can be negative, in which case the movement is in the opposite direction.
Gfa_Down [n% = 1] moves the cursor one or more lines down. The parameter value can be negative, in which case the movement is in the opposite direction.
Gfa_Up [n% = 1] moves the cursor one or more lines up. The parameter value can be negative, in which case the movement is in the opposite direction.
Gfa_PageDown moves the cursor one page down. When the cursor is in the bottom line the text is scrolled, otherwise the cursor is placed in the line at the bottom of the editor.
Gfa_PageUp moves the cursor one page up. When the cursor is in the top line (Gfa_TopLine) the text is scrolled, otherwise the cursor is placed in the top line.
Note With Gfa_Col= the position is automatically clipped to the line length, in contrast with Gfa_Right and Gfa_Left that wrap the cursor to the next or previous line.
Gfa_Left, Gfa_Right, Gfa_Down, Gfa_Up is used to cancel a selection. The selection is canceled and the cursor is set at the beginning or the end of the selection, without moving the cursor out of the selection area. Gfa_Left and Gfa_Up set the cursor at the beginning. Gfa_Right and Gfa_Down set the cursor at the end.
Gfa_Goto, Gfa_SelCol, Gfa_SelLine, Gfa_SelectAll, Gfa_IsSelection
{Created by Sjouke Hamstra; Last updated: 20/11/2023 by James Gaite; Other Contributors: Jean-Marie Melanson}