This is the basic text change that's the base of the textchanges.
Definition: textchange.h:18
A single text-change with an extra offset which represents the location of the caret. Currently this class is passed a TextDocumentFilter which enables it to alter the caret position I'm in doubt if we really need to implement it this way.
Definition: textchangewithcaret.h:15
void setCaret(int caret)
Sets the caret position.
Definition: textchangewithcaret.cpp:28
TextChangeWithCaret(int offset, int length, const QString &text, int caret)
Definition: textchangewithcaret.cpp:12
int offset() const
Return the offset.
Definition: textchange.cpp:111
int caret() const
returns the caret position
Definition: textchangewithcaret.cpp:20