Kate
Go to the documentation of this file.
   19 #ifndef KATEUNDOMANAGER_H 
   20 #define KATEUNDOMANAGER_H 
   22 #include <QtCore/QObject> 
   26 #include <QtCore/QList> 
   32 namespace KTextEditor {
 
   59     KTextEditor::Document *document();
 
   66     uint undoCount () 
const;
 
   73     uint redoCount () 
const;
 
   88     void setAllowComplexMerge(
bool allow);
 
   92     void setModified( 
bool modified );
 
   94     void updateLineModifications();
 
  103     void setUndoRedoCursorsOfLastGroup(
const KTextEditor::Cursor undoCursor,
 
  104                                        const KTextEditor::Cursor redoCursor);
 
  110     KTextEditor::Cursor lastRedoCursor() 
const;
 
  143     void inputMethodStart();
 
  144     void inputMethodEnd();
 
  149     void slotTextInserted(
int line, 
int col, 
const QString &s);
 
  154     void slotTextRemoved(
int line, 
int col, 
const QString &s);
 
  159     void slotMarkLineAutoWrapped(
int line, 
bool autowrapped);
 
  164     void slotLineWrapped(
int line, 
int col, 
int length, 
bool newLine);
 
  169     void slotLineUnWrapped(
int line, 
int col, 
int length, 
bool lineRemoved);
 
  174     void slotLineInserted(
int line, 
const QString &s);
 
  179     void slotLineRemoved(
int line, 
const QString &s);
 
  183     void undoStart (KTextEditor::Document*);
 
  184     void undoEnd (KTextEditor::Document*);
 
  185     void redoStart (KTextEditor::Document*);
 
  186     void redoEnd (KTextEditor::Document*);
 
  187     void isActiveChanged(
bool enabled);
 
  197     void setActive(
bool active);
 
  199     void updateModified();
 
  202     void viewCreated (KTextEditor::Document *, KTextEditor::View *newView);
 
  205     KTextEditor::View *activeView();
 
  209     bool m_undoComplexMerge;
 
  218     bool docWasSavedWhenUndoWasEmpty;
 
  219     bool docWasSavedWhenRedoWasEmpty;
 
#define KATEPART_TESTS_EXPORT
 
KateUndoManager implements a document's history. 
 
Class to manage a group of undo items. 
 
Base class for Kate undo commands. 
 
  
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.