KTextEditor
kateundomanager.h
105 void setUndoRedoCursorsOfLastGroup(const KTextEditor::Cursor undoCursor, const KTextEditor::Cursor redoCursor);
170 void slotLineUnWrapped(int line, int col, int length, bool lineRemoved, const Kate::TextLine &tl, const Kate::TextLine &nextLine);
Backend of KTextEditor::Document related public KTextEditor interfaces.
Definition katedocument.h:68
void slotLineInserted(int line, const QString &s)
Notify KateUndoManager that a line was inserted.
Definition kateundomanager.cpp:296
void slotLineUnWrapped(int line, int col, int length, bool lineRemoved, const Kate::TextLine &tl, const Kate::TextLine &nextLine)
Notify KateUndoManager that a line was un-wrapped.
Definition kateundomanager.cpp:225
void slotLineRemoved(int line, const QString &s, const Kate::TextLine &tl)
Notify KateUndoManager that a line was removed.
Definition kateundomanager.cpp:308
KateUndoManager(KTextEditor::DocumentPrivate *doc)
Creates a clean undo history.
Definition kateundomanager.cpp:17
void setUndoRedoCursorsOfLastGroup(const KTextEditor::Cursor undoCursor, const KTextEditor::Cursor redoCursor)
Used by the swap file recovery, this function afterwards manipulates the undo/redo cursors of the las...
Definition kateundomanager.cpp:545
void setAllowComplexMerge(bool allow)
Allows or disallows merging of "complex" undo groups.
Definition kateundomanager.cpp:569
void slotTextRemoved(int line, int col, const QString &s, const Kate::TextLine &tl)
Notify KateUndoManager that text was removed.
Definition kateundomanager.cpp:159
KTEXTEDITOR_EXPORT void undoSafePoint()
Prevent latest KateUndoGroup from being merged with the next one.
Definition kateundomanager.cpp:336
KTextEditor::Cursor lastRedoCursor() const
Returns the redo cursor of the last undo group.
Definition kateundomanager.cpp:555
void slotMarkLineAutoWrapped(int line, bool autowrapped)
Notify KateUndoManager that a line was marked as autowrapped.
Definition kateundomanager.cpp:180
void slotTextInserted(int line, int col, const QString &s, const Kate::TextLine &tl)
Notify KateUndoManager that text was inserted.
Definition kateundomanager.cpp:138
uint redoCount() const
Returns how many redo() actions can be performed.
Definition kateundomanager.cpp:370
uint undoCount() const
Returns how many undo() actions can be performed.
Definition kateundomanager.cpp:365
void slotLineWrapped(int line, int col, int length, bool newLine, const Kate::TextLine &tl)
Notify KateUndoManager that a line was wrapped.
Definition kateundomanager.cpp:191
void editStart()
Notify KateUndoManager about the beginning of an edit.
Definition kateundomanager.cpp:53
The KTextEditor namespace contains all the public API that is required to use the KTextEditor compone...
Definition katetextblock.h:18
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:27 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.