InputHandler inputHandler = textArea.getInputHandler(); InputHandler.MacroRecorder recorder = inputHandler.getMacroRecorder();  if(recorder != null) recorder.actionPerformed(this,actionCommand);  int repeatCount = inputHandler.getRepeatCount();
int repeatCount = textArea.getInputHandler().getRepeatCount();
	public void actionPerformed(ActionEvent evt)	{		View view = getView(evt);		JEditTextArea textArea = view.getTextArea();		String selection = textArea.getSelectedText();		if(selection == null)			return;		String actionCommand = evt.getActionCommand();		if(actionCommand == null || actionCommand.length() != 1)		{			view.showStatus(jEdit.getProperty("view.status.append-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);			int repeatCount = inputHandler.getRepeatCount();			StringBuffer buf = new StringBuffer();			for(int i = 0; i < repeatCount; i++)				buf.append(selection);			selection = buf.toString();			Registers.Register register = Registers.getRegister(ch);			if(register == null || register.toString() == null)				Registers.setRegister(ch,new Registers.StringRegister(selection));			else			{				Registers.setRegister(ch,new Registers.StringRegister(register.toString()					+ selection));			}		}	}