igiCodeEditorLineCount

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

Syntax:

igiCodeEditorLineCount:Int(editor:Int)


Parameters

Returns

How many lines the text has.



Summary

The number of lines.

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(ToString(igiCodeEditorLineCount(editor)) & " lines")

BambooBasic © 2026 Michael Denathorn