Verify document type
Verify document type

For documentDidSave, only update tags and run scripts if it is a text document

ascarter/BBEditSupport,ascarter/BBEditSupport,ascarter/BBEditSupport,ascarter/BBEditSupport