hide();
		public boolean verifyKey(VerifyEvent e) {			if (!Helper2.okToUse(fProposalShell))				return true;						char key= e.character;			if (key == 0) {				int newSelection= fProposalTable.getSelectionIndex();				int visibleRows= (fProposalTable.getSize().y / fProposalTable.getItemHeight()) - 1;				boolean smartToggle= false;				switch (e.keyCode) {						case SWT.ARROW_LEFT :					case SWT.ARROW_RIGHT :						filterProposals();						return true;						case SWT.ARROW_UP :						newSelection -= 1;						if (newSelection < 0)							newSelection= fProposalTable.getItemCount() - 1;						break;						case SWT.ARROW_DOWN :						newSelection += 1;						if (newSelection > fProposalTable.getItemCount() - 1)							newSelection= 0;						break;											case SWT.PAGE_DOWN :						newSelection += visibleRows;						if (newSelection >= fProposalTable.getItemCount())							newSelection= fProposalTable.getItemCount() - 1;						break;											case SWT.PAGE_UP :						newSelection -= visibleRows;						if (newSelection < 0)							newSelection= 0;						break;											case SWT.HOME :						newSelection= 0;						break;											case SWT.END :						newSelection= fProposalTable.getItemCount() - 1;						break;											default :						if (e.keyCode != SWT.MOD1 && e.keyCode != SWT.MOD2 && e.keyCode != SWT.MOD3 && e.keyCode != SWT.MOD4)							hide();						return true;				}								selectProposal(newSelection, smartToggle);								e.doit= false;				return false;				} else {								switch (key) {					case 0x1B: // Esc						e.doit= false;						hide();						break;											case '\n': // Ctrl-Enter on w2k					case '\r': // Enter//						e.doit= false;						selectProposalWithMask(e.stateMask);						break;											// in linked mode: hide popup					// plus: don't invalidate the event in order to give LinkedUI a chance to handle it					case '\t':							hide();							break;											default:									ICompletionProposal p= getSelectedProposal();						if (p instanceof ICompletionProposalExtension) {							ICompletionProposalExtension t= (ICompletionProposalExtension) p;							char[] triggers= t.getTriggerCharacters();							if (contains(triggers, key)) {								hide();								if (key == ';') {											e.doit= true;									insertProposal(p, (char) 0, e.stateMask, fViewer.getSelectedRange().x);								} else {									e.doit= false;									insertProposal(p, key, e.stateMask, fViewer.getSelectedRange().x);								}							}						}				}			}						return true;		}