#include <textbuffer.h>
◆ TextBufferChangeData() [1/2]
edbee::TextBufferChangeData::TextBufferChangeData |
( |
TextBuffer * |
buffer, |
|
|
int |
off, |
|
|
int |
len, |
|
|
const QChar * |
text, |
|
|
int |
textlen |
|
) |
| |
Initializes the textbuffer change.
- Parameters
-
buffer | when buffer is 0 NO line calculation is done |
◆ TextBufferChangeData() [2/2]
edbee::TextBufferChangeData::TextBufferChangeData |
( |
LineOffsetVector * |
lineOffsets, |
|
|
int |
off, |
|
|
int |
len, |
|
|
const QChar * |
text, |
|
|
int |
textlen |
|
) |
| |
Initializes the textbuffer change.
- Parameters
-
buffer | when buffer is 0 NO line calculation is done |
◆ length_
int edbee::TextBufferChangeData::length_ |
The number of chars to replaced.
◆ line_
int edbee::TextBufferChangeData::line_ |
The line number were the change occured.
◆ lineCount_
int edbee::TextBufferChangeData::lineCount_ |
the number of lines that are involved.
◆ newLineOffsets_
QVector<int> edbee::TextBufferChangeData::newLineOffsets_ |
A list of new line offset.
◆ newText_
const QChar* edbee::TextBufferChangeData::newText_ |
The reference to a new text.
◆ newTextLength_
int edbee::TextBufferChangeData::newTextLength_ |
◆ offset_
int edbee::TextBufferChangeData::offset_ |
The offset in the buffer.
The documentation for this class was generated from the following files: