igiCodeEditorSetLanguage

Chooses how the editor colours its text. Takes editor (An editor handle), lang (A language handle (0 = plain text)).

IGI

Parameters & Returns

Parameters

editor Int
lang Int

Returns

Void

Quick Summary

Chooses how the editor colours its text. Takes editor (An editor handle), lang (A language handle (0 = plain text)).

Technical Exegesis...

Chooses how the editor colours its text.

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

Example.bam
igiCodeEditorSetLanguage(editor, luaLang)