---
title: breakUndoCoalescing()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nstextview/breakundocoalescing()
---

# breakUndoCoalescing()

Informs the receiver that it should begin coalescing successive typing operations in a new undo grouping.

## Declaration

```swift
func breakUndoCoalescing()
```

## Discussion

Discussion This method should be invoked when saving the receiver’s contents to preserve proper tracking of unsaved changes and the document’s dirty state.

## See Also

### Supporting undo

- [isCoalescingUndo](appkit/nstextview/iscoalescingundo.md)
