igiCodeEditor

Draws the editor inside the current window. Takes editor (An editor handle), width (Width in pixels (0 = fill the space left in the window)), height (Height in pixels (0 = fill the space left)).

IGI

Parameters & Returns

Parameters

editor Int
width Int
height Int

Returns

Void

Quick Summary

Draws the editor inside the current window. Takes editor (An editor handle), width (Width in pixels (0 = fill the space left in the window)), height (Height in pixels (0 = fill the space left)).

Technical Exegesis...

Draws the editor inside the current window. Click it to type. Keys: arrows (Ctrl for a word at a time), Home / End, Ctrl+Home / End, Page Up / Down, Shift to select, Ctrl+A / C / X / V, Ctrl+Z / Y, Tab and Shift+Tab (indent a selection), Enter keeps the indent. Double-click selects a word.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.

Example

Example.bam
igiBegin("Script")
igiCodeEditor(editor, 0, 0)
igiEnd()