Community
Participate
Working Groups
When an Editor needs to be destroyed, you're forced to call ditor.getTextView().destroy(). This is strange. The Editor should have its own destroy() that cleans up the TextView for you. We also need to investigate whether editor allocates resources (aside from the TextView) that should be freed.
Added destroy() and uninstallTextView() APIs. After destroy is called the editor instance should not be used any more. The uninstallTextView() API was added to be symmetrical to installTextView() API. It sends TextViewUninstalled event. The editor text view can be installed/uninstalled multiple times. http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=2733cd6fed8629b9cc1a578e53992edba6da1478