Marks the end of a not undoable action on the buffer.
When the last not undoable block is closed through the call to this function, the list of undo actions is cleared and the undo manager is re-enabled.
a SourceBuffer.