Make TextBuffer::isModified public and improve docs
Document TextBuffer events