move SafeCountable functionality to Editor from Window
This commit is contained in:
parent
d91070f5b7
commit
2cc01d3407
|
@ -17,7 +17,7 @@ class Register;
|
|||
//
|
||||
// The Editor class provides methods to manipulate a set of selections
|
||||
// and to use these selections to mutate it's buffer.
|
||||
class Editor
|
||||
class Editor : public SafeCountable
|
||||
{
|
||||
public:
|
||||
typedef std::function<SelectionAndCaptures (const Selection&)> Selector;
|
||||
|
|
|
@ -19,7 +19,7 @@ class HighlighterGroup;
|
|||
// to the editing ones already provided by the Editor class.
|
||||
// Display can be customized through the use of highlighters handled by
|
||||
// the window's HighlighterGroup
|
||||
class Window : public Editor, public OptionManagerWatcher, public SafeCountable
|
||||
class Window : public Editor, public OptionManagerWatcher
|
||||
{
|
||||
public:
|
||||
~Window();
|
||||
|
|
Loading…
Reference in New Issue
Block a user