Sets the modified state of the buffer. Usually, the state is changed automatically after an insertion, deletion, or style change by calling this method.
Sets the modification state to modified?.