igiCodeEditorMarkLine

Colours a line's background and its number - for errors, warnings, a debugger's current line and so on. Takes editor (An editor handle), line (The line, from 1), r (Red 0-255), g (Green 0-255), b (Blue 0-255), tooltip (Shown when the pointer is over the line ("" = none)).

IGI

Parameters & Returns

Parameters

editor Int
line Int
r Int
g Int
b Int
tooltip String

Returns

Void

Quick Summary

Colours a line's background and its number - for errors, warnings, a debugger's current line and so on. Takes editor (An editor handle), line (The line, from 1), r (Red 0-255), g (Green 0-255), b (Blue 0-255), tooltip (Shown when the pointer is over the line ("" = none)).

Technical Exegesis...

Colours a line's background and its number - for errors, warnings, a debugger's current line and so on. Marks stay until igiCodeEditorClearMarks or SetText.

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
igiCodeEditorMarkLine(editor, 12, 220, 60, 60, "I don't know FORWRD")