KTextEditor
katetexthistory.h
65 void transformCursor(int &line, int &column, KTextEditor::MovingCursor::InsertBehavior insertBehavior, qint64 fromRevision, qint64 toRevision = -1);
InsertBehavior
Insert behavior of this cursor, should it stay if text is insert at its position or should it move.
Definition movingcursor.h:64
An object representing a section of text, from one Cursor to another.
Definition include/ktexteditor/range.h:49
Class representing the editing history of a TextBuffer.
Definition katetexthistory.h:24
qint64 revision() const
Current revision, just relay the revision of the buffer.
Definition katetexthistory.cpp:23
qint64 lastSavedRevision() const
Last revision the buffer got successful saved.
Definition katetexthistory.h:39
void transformCursor(int &line, int &column, KTextEditor::MovingCursor::InsertBehavior insertBehavior, qint64 fromRevision, qint64 toRevision=-1)
Transform a cursor from one revision to an other.
Definition katetexthistory.cpp:353
void transformRange(KTextEditor::Range &range, KTextEditor::MovingRange::InsertBehaviors insertBehaviors, KTextEditor::MovingRange::EmptyBehavior emptyBehavior, qint64 fromRevision, qint64 toRevision=-1)
Transform a range from one revision to an other.
Definition katetexthistory.cpp:394
void lockRevision(qint64 revision)
Lock a revision, this will keep it around until released again.
Definition katetexthistory.cpp:115
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:03:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:03:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.