Highlighting and Protecting Text

Use

Redrawing the Control

AUTO_REDRAW

Switching Highlighting on and off

HIGHLIGHT_LINES

HIGHLIGHT_SELECTION

Switching Input Protection on and off

PROTECT_LINES

PROTECT_SELECTION

Comment Lines

SET_COMMENTS_STRING

SET_HIGHLIGHT_COMMENTS_MODE

Switching Between Display and Change Mode

SET_READONLY_MODE

Moving a Selection to the Visible Part of the Editor Window

MAKE_SELECTION_VISIBLE