igiCodeEditorChanged

Category: IGI (in-game GUI) — Code editor

Syntax:

igiCodeEditorChanged:Int(editor:Int)


Parameters

Returns

1 once after the text has changed (typing, pasting, undo, InsertText), then 0 until it changes again.



Summary

Tells you when to check or rerun the text. SetText doesn't count as a change.

This can be called any time, in Main or in the loop. The .lang file format is on its own page. See the IGI guide.



Example
If igiCodeEditorChanged(editor) Then CheckScript()

BambooBasic © 2026 Michael Denathorn