EditorSetString

Far Manager

EditorSetString

The EditorSetString structure is used in the EditorControl function to change the value of a text line in the internal FAR editor.
struct EditorSetString
{
  int StringNumber;
  char *StringText;
  char *StringEOL;
  int StringLength;
};

Elements

StringNumber
Number of the text line to change, -1 indicates the current line.
StringText
Pointer to the line text.
StringEOL
End-of-line sequence. Can be an empty string, \r\n or \n. You can place this sequence either in StringEOL or directly in StringText. This field can also be set to NULL to use the default sequence.
StringLength
Length of data pointed to by StringText.
See also: