igiCodeEditorLine

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

Syntax:

igiCodeEditorLine:Int(editor:Int)


Parameters

Returns

The caret's line, from 1.



Summary

Where the caret is, for a status line.

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
igiText("Line " & ToString(igiCodeEditorLine(editor)) & ", column " & ToString(igiCodeEditorColumn(editor)))

BambooBasic © 2026 Michael Denathorn