Category: IGI
Syntax:
igiCodeEditorInsertText:Void(editor:Int, text:String)
Void
Types text in at the caret, replacing any selection - for buttons that add snippets, auto-complete and so on.
Takes editor (An editor handle), text (The text to put in).
View detailed documentation online
If igiButton("Add a loop") Then igiCodeEditorInsertText(editor, "REPEAT 4" & Chr(10) & "END")
BambooBasic © 2026 Michael Denathorn