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
/**
         * Update the state
         */
        public void updateEnabledState() {
            if (activeTextControl != null && !activeTextControl.isDisposed()) {
        		boolean canPaste = false;
            	if (activeTextControl.getEditable()) {
            		Clipboard clipboard = new Clipboard(activeTextControl.getDisplay());
            		TransferData[] td = clipboard.getAvailableTypes();
            		for (int i = 0; i < td.length; ++i) {
            			if (TextTransfer.getInstance().isSupportedType(td[i])) {
            				canPaste = true;
            				break;
            			}
            		}
            		
            		clipboard.dispose();
            	}
            	
                setEnabled(canPaste);
                return;
            }
            if (pasteAction != null) {
                setEnabled(pasteAction.isEnabled());
                return;
            }
            setEnabled(false);
        }
    }
    private class SelectAllActionHandler extends Action {