void SetModified (Bool modified)
Sets the modified state of the buffer. Usually, the state is changed automatically after an insertion, deletion, or style change. You can override this function to hook into a modification state change, but be sure to call the default method.