The isEditMode/setEditMode functions of the formattedtextcontrol have been deprecated, and need to be removed from the documentation.
If you want to query whether the control is read only, then use the isReadOnly/setReadOnly functions.
Is that what you are trying to do?
Regards,
JPG