InputHandler inputHandler = textArea.getInputHandler(); InputHandler.MacroRecorder recorder = inputHandler.getMacroRecorder();  if(recorder != null) recorder.actionPerformed(this,actionCommand);
	public void actionPerformed(ActionEvent evt)	{		View view = getView(evt);		JEditTextArea textArea = view.getTextArea();		if(!textArea.isEditable())		{			view.getToolkit().beep();			return;		}		String actionCommand = evt.getActionCommand();		if(actionCommand == null || actionCommand.length() != 1)		{			view.showStatus(jEdit.getProperty("view.status.paste-string-register"));			textArea.getInputHandler().grabNextKeyStroke(this);		}		else		{			view.showStatus(null);			char ch = actionCommand.charAt(0);			if(ch == '\0')			{				view.getToolkit().beep();				return;			}			InputHandler inputHandler = textArea.getInputHandler();			InputHandler.MacroRecorder recorder = inputHandler.getMacroRecorder();			if(recorder != null)				recorder.actionPerformed(this,actionCommand);			Registers.Register register = Registers.getRegister(ch);			if(register == null)			{				view.getToolkit().beep();				return;			}			else			{				String selection = register.toString();				if(selection == null)				{					view.getToolkit().beep();					return;				}				int repeatCount = inputHandler.getRepeatCount();				StringBuffer buf = new StringBuffer();				for(int i = 0; i < repeatCount; i++)					buf.append(selection);				textArea.setSelectedText(buf.toString());				HistoryModel.getModel("clipboard").addItem(selection);			}		}	}