if((evt.getModifiers() & InputEvent.BUTTON3_MASK) != 0 && popup != null)
if(evt.isPopupTrigger() && popup != null)
		public void mousePressed(MouseEvent evt)		{			buffer.endCompoundEdit();			grabFocus();			if((evt.getModifiers() & InputEvent.BUTTON3_MASK) != 0				&& popup != null)			{				if(popup.isVisible())					popup.setVisible(false);				else					popup.show(painter,evt.getX()+1,evt.getY()+1);				return;			}			blink = true;			invalidateLine(caretLine);			int x = evt.getX();			int y = evt.getY();			dragStartLine = buffer.virtualToPhysical(yToLine(y));			dragStartOffset = xToOffset(dragStartLine,x);			dragStart = xyToOffset(x,y,!painter.isBlockCaretEnabled());			clickCount = evt.getClickCount();			switch(clickCount)			{			case 1:				doSingleClick(evt);				break;			case 2:				// It uses the bracket matching stuff, so				// it can throw a BLE				try				{					doDoubleClick(evt);				}				catch(BadLocationException bl)				{					bl.printStackTrace();				}				break;			default: //case 3:				doTripleClick(evt);				break;			}		}