This document lists the API changes that occurred between R3.0 and R3.1 and how to migrate from the R3.0 API to the R3.1 API.

Platform Text - Binary Compatibility Breakage from R3.0 to R3.1

- org.eclipse.jface.text.DefaultPositionUpdater.update(DocumentEvent event): to prevent holding on to the cached document after calling this method we set `fDocument` to `null` at the end of this method. Subclasses that extend `update(DocumentEvent event)` i.e. call `super.update(event)` will be broken if they access `fDocument` after that call. To fix this either replace `fDocument` with `event.getDocument()` or set `fDocument` again. If you do the latter do not forget to set it back to `null` at the end of your method.

Platform Text - Breaking API changes from R3.0 to R3.1