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
buf.append(text.substring(selection.y));
				activeTextControl.setText(buf.toString());
				activeTextControl.setSelection(selection.x, selection.x);
				updateActionsEnableState();
				return;
			}
            if (deleteAction != null) {
                deleteAction.runWithEvent(event);
                return;
            }
        }
        /**
         * Update state.
         */
        public void updateEnabledState() {
            if (activeTextControl != null && !activeTextControl.isDisposed()) {
                setEnabled(activeTextControl.getEditable()
                		&& (activeTextControl.getSelectionCount() > 0
                        || activeTextControl.getCaretPosition() < activeTextControl
                                .getCharCount()));
                return;
            }
            if (deleteAction != null) {
                setEnabled(deleteAction.isEnabled());
                return;
            }
            setEnabled(false);
        }
    }
    private class CutActionHandler extends Action {