public void actionPerformed (ActionEvent e)
	{
		String o = e.getActionCommand();
		if (o.equals(Global.name("block.copy", "Copy")))
			TD.copy(Start, End);
		else if (o.equals(Global.name("block.begin", "Begin Block")))
		{
			TD.unmark(Start, End);
			Start = TD.getposition(X, Y);
			Start.oneleft();
			if (End == null && TD.L.last() != null)
			{
				End = TD.lastpos();
			}
			TD.mark(Start, End);
		}
		else if (o.equals(Global.name("block.end", "End Block")))
		{
			TD.unmark(Start, End);
			End = TD.getposition(X, Y);
			if (Start == null && TD.L.first() != null)
			{
				Start = new TextPosition(TD.L.first(), 0, 0);
			}
			TD.mark(Start, End);
		}
	}