igiCodeEditorSelectedText

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

Syntax:

igiCodeEditorSelectedText:String(editor:Int)


Parameters

Returns

The selected text, or "" if nothing is selected.



Summary

Gets what the user has selected.

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("Selected: " & igiCodeEditorSelectedText(editor))

BambooBasic © 2026 Michael Denathorn