Topic : The GFA-Basic Compendium Author : GFA Systemtechnik GmbH Version : GFABasic.HYP v2.98 (12/31/2023) Subject : Documentation/Programming Nodes : 899 Index Size : 28056 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : @default : Document not found @help : Help @options : +g -i -s +z @width : 75 @hostname : STRNGSRV @hostname : CAB @hostname : HIGHWIRE @hostname : THING View Ref-FileOBJC_EDIT(tree,obj,char,old_pos,flag,new_pos) tree, obj, char, old_pos, flag: iexp new_pos: ivar Facilitates the input and editing of text in the G_TEXT and G_BOXTEXT object types. Returns 0 if and error occured. tree - Address of the object tree. obj - Object number. char - Input character (including Scan code). old_pos - Current cursor position in input string. flag - Function selection: 0: Reserved (function call does nothing) ED_START 1: String is formatted and cursor switched on ED_INIT 2: Character processed and string re-displayed ED_CHAR 3: Text cursor switched off ED_END new_pos - Returns the new cursor position in input string. Memo: ED_INIT always places the cursor at the end of the string. The code inside the editor seems to indicate that parameter 'new_pos' should be optional, however the syntax rule doesn't seem to allow it. objc_edit()+