Updates information needed to manage
NSText objects in the given text container.
- macOS 10.0+
The text container whose text view has changed.
This method is called by a text container, whenever its text view changes, to keep notifications synchronized. You should rarely need to invoke it directly.