igiCodeEditorGotoLine

Puts the caret at the start of a line and scrolls it to the middle of the editor - for jumping to an error. Takes editor (An editor handle), line (The line, from 1).

IGI

Parameters & Returns

Parameters

editor Int
line Int

Returns

Void

Quick Summary

Puts the caret at the start of a line and scrolls it to the middle of the editor - for jumping to an error. Takes editor (An editor handle), line (The line, from 1).

Technical Exegesis...

Puts the caret at the start of a line and scrolls it to the middle of the editor - for jumping to an error.

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
igiCodeEditorGotoLine(editor, errorLine)