Sets the modified state of the buffer. Usually, the state is changed automatically after an insertion, deletion, or style change by calling this method. This method is usually not called when the state of the flag is not changing.
Sets the modification state to modified?.