igiCodeEditorSetText

Category: IGI

Syntax:

igiCodeEditorSetText:Void(editor:Int, text:String)


Parameters

Returns

Void



Summary

Replaces all the editor's text, puts the caret at the start and clears the undo history and marks.

Takes editor (An editor handle), text (The new text (Chr(10) between lines)).

View detailed documentation online



Example
igiCodeEditorSetText(editor, fileLoadString("level1.script", BBR_STR_FORM_UTF8))

BambooBasic © 2026 Michael Denathorn