igiCodeEditorSetReadOnly

A read-only editor can still be scrolled, selected and copied from. Takes editor (An editor handle), readOnly (True to stop editing, False to allow it).

IGI

Parameters & Returns

Parameters

editor Int
readOnly Int

Returns

Void

Quick Summary

A read-only editor can still be scrolled, selected and copied from. Takes editor (An editor handle), readOnly (True to stop editing, False to allow it).

Technical Exegesis...

A read-only editor can still be scrolled, selected and copied from.

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
igiCodeEditorSetReadOnly(viewer, True)