for(int i = view.getTextArea().getInputHandler() .getRepeatCount() - 1; i >= 0; i--)
InputHandler inputHandler = view.getTextArea().getInputHandler(); int repeatCount = inputHandler.getRepeatCount(); inputHandler.setRepeatEnabled(false); inputHandler.setRepeatCount(1);  for(int i = repeatCount - 1; i >= 0; i--)
	public void actionPerformed(ActionEvent evt)	{		View view = getView(evt);		String macro = evt.getActionCommand();		for(int i = view.getTextArea().getInputHandler()			.getRepeatCount() - 1; i >= 0; i--)		{			Macros.playMacro(view,macro);		}	}