It is SourceFrame's responsibility to check if content is editable and to configure TextEditor component (e.g. set editable range) when user tries to initiate editing.
Created attachment 92422 [details] Patch.
Also renamed two delegate's methods: startEditing -> beforeTextChanged endEditing -> afterTextChanged
Committed r86552: <http://trac.webkit.org/changeset/86552>