(example-edit-file "capi/editor/editor-pane")
change-callback , text property and editor face:
(example-edit-file "capi/editor/change-callback")
Callbacks before and after input:
(example-edit-file "capi/editor/input-callback")
CAPI User Guide and Reference Manual (Windows version) - 3 Aug 2017