21 virtual int length()
const;
22 virtual QChar
charAt(
int offset )
const;
25 virtual void replaceText(
int offset,
int length,
const QChar* buffer,
int bufferLength );
27 virtual int lineCount() {
return lineOffsetList_.length(); }
29 virtual int lineFromOffset(
int offset );
30 virtual int offsetFromLine(
int line );
32 virtual void rawAppendBegin();
33 virtual void rawAppend( QChar c );
34 virtual void rawAppend(
const QChar* data,
int dataLength );
35 virtual void rawAppendEnd();
37 virtual QChar* rawDataPointer();
51 int rawAppendLineStart_;
virtual QString textPart(int offset, int length) const
Returns the text part.
Definition chartextbuffer.cpp:47
CharTextBuffer(QObject *parent=0)
The constructor of the textbuffer.
Definition chartextbuffer.cpp:16
virtual QChar charAt(int offset) const
Returns the character at the given character.
Definition chartextbuffer.cpp:35
virtual int length() const
Returns the length of the buffer.
Definition chartextbuffer.cpp:26
virtual int lineCount()
this method should return an array with all line offsets. A line offset pointsto the START of a line ...
Definition chartextbuffer.h:27
void emitTextChanged(edbee::TextBufferChange *change, QString oldText=QString())
virtual void replaceText(int offset, int length, const QChar *buffer, int bufferLength)
replaces the given text
Definition chartextbuffer.cpp:64
LineOffsetVector & lineOffsetList()
Definition chartextbuffer.h:40
This class implements the vector for storing the line numbers at certain offsets/ The class allows th...
Definition lineoffsetvector.h:26
The character vecor to use.
Definition gapvector.h:411
This clas represents a text buffer change and is used to pass around between events This is a sharedd...
Definition textbuffer.h:45
TextBuffer(QObject *parent=0)
The textbuffer constructor.
Definition textbuffer.cpp:90
#define EDBEE_EXPORT
Definition exports.h:15
QT Acessibility has an issue with reporting blank lines between elements lines. defining 'WINDOWS_EMP...
Definition commentcommand.cpp:20