public DeleteCommand(Composition document, int startFrom, int endAt) {
		this.document = document;
		this.startFrom = startFrom;
		this.endAt = endAt;
		this.buffer = new ArrayList<Glyph>();
		for (int i = this.startFrom; i <= this.endAt; i++) {
			this.buffer.add(this.document.getChildren().get(i));
		}
	}