igiCodeEditorGotoLine

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

Syntax:

igiCodeEditorGotoLine:Void(editor:Int, line:Int)


Parameters

Returns

Nothing



Summary

Puts the caret at the start of a line and scrolls it to the middle of the editor - for jumping to an error.

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
igiCodeEditorGotoLine(editor, errorLine)

BambooBasic © 2026 Michael Denathorn