TEditorGetString
The EditorGetString stucture for Delphi:
TEditorGetString = packed record StringNumber: integer; StringText: PChar; StringEOL: PChar; StringLength: integer; SelStart: integer; SelEnd: integer; end; PEditorGetString = ^TEditorGetString;