29 virtual void applyLineDelta(
int line,
int length,
int newLength );
This is the base and abstract class of a text document A TextDocument is the model part of the editor...
Definition: textdocument.h:40
LineDataChange(int line, int field)
Definition: linedatachange.cpp:15
virtual ~LineDataChange()
Definition: linedatachange.cpp:22
void giveLineData(TextLineData *lineData)
Definition: linedatachange.cpp:27
virtual void applyLineDelta(int line, int length, int newLength)
line is moved with the given delta
Definition: linedatachange.cpp:58
void setLine(int line)
Sets the line of this change.
Definition: linedatachange.cpp:90
virtual void execute(TextDocument *document)
This method should execute the command.
Definition: linedatachange.cpp:32
virtual QString toString()
Returns the debug text.
Definition: linedatachange.cpp:67
void setField(int field)
sets the field position
Definition: linedatachange.cpp:104
virtual bool giveAndMerge(TextDocument *document, Change *textChange)
merge is never a problem, simply
Definition: linedatachange.cpp:43
Copyright 2011-2013 - Reliable Bits Software by Blommers IT.
Definition: commentcommand.cpp:22
A basic change.
Definition: change.h:18
virtual void revert(TextDocument *doc)
this method reverts the given operation
Definition: linedatachange.cpp:37
int line() const
Returns the line index.
Definition: linedatachange.cpp:83
int field() const
retursn the field index of this line-data item
Definition: linedatachange.cpp:97
A text line item reference.
Definition: textlinedata.h:28
a class to handle line-data textchanges
Definition: linedatachange.h:16