JEditTextArea textArea = getTextArea(); if(textArea.getSelectionCount() != 0) Registers.setRegister('%',textArea.getSelectedText());
		public void caretUpdate(CaretEvent evt)		{			status.repaintCaretStatus();			status.updateMiscStatus();			JEditTextArea textArea = getTextArea();			if(textArea.getSelectionCount() != 0)				Registers.setRegister('%',textArea.getSelectedText());		}