13 #ifndef __TEXTEDIT_H__ 14 #define __TEXTEDIT_H__ 50 virtual void undo(
EditData*)
override = 0;
51 virtual void redo(
EditData*)
override = 0;
53 const QString&
string()
const {
return s; }
virtual void undo(EditData *ed) override
Definition: textedit.h:65
Definition: textedit.h:73
~TextEditData()
Definition: textedit.h:33
Definition of undo-releated classes and structs.
Definition: textbase.h:102
Definition: textedit.h:60
virtual void redo(EditData *data) override
Definition: textedit.h:103
Definition: textedit.h:26
Definition: element.h:504
TextCursor cursor
Definition: textedit.h:30
TextCursor c
Definition: textedit.h:88
Definition: textedit.h:86
virtual void undo(EditData *data) override
Definition: textedit.h:116
virtual void undo(EditData *ed) override
Definition: textedit.h:78
TextCursor c
Definition: textedit.h:41
virtual void redo(EditData *ed) override
Definition: textedit.h:64
int startUndoIdx
Definition: textedit.h:28
RemoveText(const TextCursor *tc, const QString &t)
Definition: textedit.h:76
const QString & string() const
Definition: textedit.h:53
QString oldXmlText
Definition: textedit.h:27
SplitText(const TextCursor *tc)
Definition: textedit.h:106
Definition: textbase.h:217
#define UNDO_NAME(a)
Definition: undo.h:88
SplitJoinText(const TextCursor *tc)
Definition: textedit.h:93
ChangeText(const TextCursor *tc, const QString &t)
Definition: textedit.h:49
Definition: aeolus.cpp:26
QString s
Definition: textedit.h:42
Definition: textedit.h:114
const TextCursor & cursor() const
Definition: textedit.h:52
Definition: textedit.h:100
Definition: element.h:111
Definition: textedit.h:40
virtual void redo(EditData *ed) override
Definition: textedit.h:77
InsertText(const TextCursor *tc, const QString &t)
Definition: textedit.h:63
TextEditData(TextBase *t)
Definition: textedit.h:32
JoinText(const TextCursor *tc)
Definition: textedit.h:120
virtual void undo(EditData *data) override
Definition: textedit.h:102
virtual void redo(EditData *data) override
Definition: textedit.h:117