MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / readEditorText

Method readEditorText

src/ScintillaSorter.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39const 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
47void ScintillaSorter::writeEditorText(const QByteArray &result)
48{

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected