| 37 | } |
| 38 | |
| 39 | const QByteArray ScintillaSorter::readEditorText() |
| 40 | { |
| 41 | sptr_t pointer = editor->characterPointer(); |
| 42 | int len = editor->length(); |
| 43 | |
| 44 | return QByteArray::fromRawData(reinterpret_cast<const char *>(pointer), len); |
| 45 | } |
| 46 | |
| 47 | void ScintillaSorter::writeEditorText(const QByteArray &result) |
| 48 | { |