Bug 239518 [Contributions] Fix up TextActionHandler's handling of Delete to use Text.insert
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/TextActionHandler.java
textSelectAllAction);
    private Listener textControlListener = new TextControlListener();
    private Text activeTextControl;
    private MouseAdapter mouseAdapter = new MouseAdapter() {
        public void mouseUp(MouseEvent e) {
            updateActionsEnableState();
        }
    };
    private KeyAdapter keyAdapter = new KeyAdapter() {
        public void keyReleased(KeyEvent e) {
            updateActionsEnableState();
        }
    };
    private class TextControlListener implements Listener {
        public void handleEvent(Event event) {
            switch (event.type) {
            case SWT.Activate:
                activeTextControl = (Text) event.widget;
                updateActionsEnableState();
                break;
            case SWT.Deactivate:
                activeTextControl = null;
                updateActionsEnableState();
                break;
            default:
                break;
            }
        }
    }
    private class PropertyChangeListener implements IPropertyChangeListener {