1/*
2 * Copyright 2013 Stephan A��mus <superstippi@gmx.de>
3 * Distributed under the terms of the MIT License.
4 */
5
6#ifndef EDIT_CONTEXT_H
7#define EDIT_CONTEXT_H
8
9#include <Referenceable.h>
10
11/**
12 * EditContext is passed to UndoableEdits in Perform(), Undo(), and Redo().
13 * It provides a context in which the user performs these operations
14 * and can be used for example to control the selection or visible
15 * portion of the document to focus the user's attention on the
16 * elements affected by the UndoableEdit.
17 */
18class EditContext : public BReferenceable {
19public:
20								EditContext();
21	virtual						~EditContext();
22};
23
24typedef BReference<EditContext> EditContextRef;
25
26#endif // EDIT_CONTEXT_H
27