Kate
kateundo.cpp
Go to the documentation of this file.
41 KateEditInsertTextUndo::KateEditInsertTextUndo (KateDocument *document, int line, int col, const QString &text)
49 KateEditRemoveTextUndo::KateEditRemoveTextUndo (KateDocument *document, int line, int col, const QString &text)
57 KateEditWrapLineUndo::KateEditWrapLineUndo (KateDocument *document, int line, int col, int len, bool newLine)
66 KateEditUnWrapLineUndo::KateEditUnWrapLineUndo (KateDocument *document, int line, int col, int len, bool removeLine)
75 KateEditInsertLineUndo::KateEditInsertLineUndo (KateDocument *document, int line, const QString &text)
82 KateEditRemoveLineUndo::KateEditRemoveLineUndo (KateDocument *document, int line, const QString &text)
238 KateUndoGroup::KateUndoGroup (KateUndoManager *manager, const KTextEditor::Cursor &cursorPosition, const KTextEditor::Range &selectionRange)
299 void KateUndoGroup::editEnd(const KTextEditor::Cursor &cursorPosition, const KTextEditor::Range selectionRange)
virtual bool setSelection(const Range &range)=0
virtual bool mergeWith(const KateUndo *undo)
merge an undo item Saves a bit of memory and potentially many calls when undo/redoing.
Definition: kateundo.cpp:105
virtual bool setCursorPosition(Cursor position)=0
Definition: kateundo.h:121
Definition: kateundo.h:124
virtual bool isValid() const
Definition: kateundo.h:126
bool merge(KateUndoGroup *newGroup, bool complex)
merge this group with an other
Definition: kateundo.cpp:315
Definition: kateundo.h:190
Definition: kateundo.h:150
Definition: kateundo.h:125
Definition: kateundo.h:128
Definition: kateundo.h:122
KateEditInsertTextUndo(KateDocument *document, int line, int col, const QString &text)
Definition: kateundo.cpp:41
virtual bool isValid() const
bool editInsertText(int line, int col, const QString &s)
Add a string in the given line/column.
Definition: katedocument.cpp:971
Definition: kateundo.h:123
Definition: kateundo.h:68
KateEditInsertLineUndo(KateDocument *document, int line, const QString &text)
Definition: kateundo.cpp:75
virtual void updateRedoSavedOnDiskFlag(QBitArray &lines)
Definition: kateundo.h:144
KateEditUnWrapLineUndo(KateDocument *document, int line, int col, int len, bool removeLine)
Definition: kateundo.cpp:66
KateEditRemoveTextUndo(KateDocument *document, int line, int col, const QString &text)
Definition: kateundo.cpp:49
Definition: katedocument.h:74
void editEnd(const KTextEditor::Cursor &cursorPosition, const KTextEditor::Range selectionRange)
Definition: kateundo.cpp:299
KateEditWrapLineUndo(KateDocument *document, int line, int col, int len, bool newLine)
Definition: kateundo.cpp:57
void flagSavedAsModified()
Change all LineSaved flags to LineModified of the line modification system.
Definition: kateundo.cpp:345
bool editWrapLine(int line, int col, bool newLine=true, bool *newLineAdded=0)
Wrap line.
Definition: katedocument.cpp:1083
bool editRemoveText(int line, int col, int len)
Remove a string in the given line/column.
Definition: katedocument.cpp:1012
Definition: kateundo.h:127
virtual void updateUndoSavedOnDiskFlag(QBitArray &lines)
Definition: kateundo.h:143
KateEditRemoveLineUndo(KateDocument *document, int line, const QString &text)
Definition: kateundo.cpp:82
bool editUnWrapLine(int line, bool removeLine=true, int length=0)
Unwrap line.
Definition: katedocument.cpp:1153
virtual bool removeSelection()=0
bool editInsertLine(int line, const QString &s)
Insert a string at the given line.
Definition: katedocument.cpp:1223
bool editMarkLineAutoWrapped(int line, bool autowrapped)
Mark line as autowrapped.
Definition: katedocument.cpp:1056
KateUndoGroup(KateUndoManager *manager, const KTextEditor::Cursor &cursorPosition, const KTextEditor::Range &selectionRange)
Constructor.
Definition: kateundo.cpp:238
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.