Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File8.6.18 edit_set_buf TOS Name: »Edit Object Set Buffer« - Alter settings: Text buffer Opcode: 217 (sub-opcode 0) Syntax: void edit_set_buf ( OBJECT *tree, int16_t obj, int8_t *buf, int32_t buflen ); Description: The call edit_set_buf is used to alter the settings of the text buffer for an editable object. The following apply: Parameter Meaning tree Object tree obj Object index buf Text buffer. The text is present in DOS format with CR/LF as line-end identifier and is terminated by a Nullbyte. buflen Length of text buffer inclusive of closing Nullbyte. The buffer is allocated to the text object, the number of lines are determined. The cursor is set to the start of the text. This call clears the Dirty flag. Return value: The function does not return a result. Availability: As of MagiC 5.20 by means of a shared library. Group: Editable object functions See Also: Binding