Bug 240344 Paste in bultin-browser goes to address field instead of form input field
Build ID: I20080617-2000 Steps To Reproduce: Launch a web application into the built-in browser that has a form. Click in a form field to place the cursor there. Press Ctrl-V or Select Edit/Paste in the menu. In either case the cliboard content is appended to the address bar in the browser.
bundles/org.eclipse.ui.browser/src/org/eclipse/ui/internal/browser/WebBrowserEditorActionBarContributor.java
/**
	 * WebBrowserEditorActionBarContributor constructor comment.
	 */
	public WebBrowserEditorActionBarContributor() {
		super();
	}
	/*
	 * Sets the active editor for the contributor.
	 */
	public void setActiveEditor(IEditorPart targetEditor) {
		if (targetEditor instanceof WebBrowserEditor) {
			editor = (WebBrowserEditor) targetEditor;
			WebBrowserEditorInput input = editor.getWebBrowserEditorInput();
			
			if (input == null || input.isLocationBarLocal()) {
				IActionBars actionBars = getActionBars();
				actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), editor.getCopyAction());
				actionBars.setGlobalActionHandler(ActionFactory.CUT.getId(), editor.getCutAction());
				actionBars.setGlobalActionHandler(ActionFactory.PASTE.getId(), editor.getPasteAction());
			}
			
			
			
				
			
		} else
			editor = null;
	}
	
	protected BrowserViewer getWebBrowser() {