blob: 97096ed31243ef8e3f1f88bb2a4f965797630253 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include "Operation.h"
#include <string>
class InsertOperation final : public Operation {
public:
explicit InsertOperation(const std::string&);
explicit InsertOperation(char);
~InsertOperation();
virtual bool apply(Editor&) override;
virtual bool unapply(Editor&) override;
private:
std::string m_text;
};
|