| ST_readOnly | Function (ROM Call 0xE9)

statline.h

void ST_readOnly (short mode);

Sets the "read only" (or "locked") indicator in the status line.

ST_readOnly sets the "read only" ("locked") indicator in the status line if the mode is non-zero, else resets the indicator. But note that this indicator appears only when you open a variable in a text editor, and that this routine does not set or change the read-only state of the text currently being edited. This function is called from TE_indicateReadOnly.

Uses: ST_eraseHelp, ST_flags
Used by: TE_indicateReadOnly