MCPcopy Create free account
hub / github.com/cxasm/notepad-- / getGenericTextAsQString

Method getGenericTextAsQString

src/scintillaeditview.cpp:2884–2894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2882}
2883
2884QString ScintillaEditView::getGenericTextAsQString(size_t start, size_t end) const
2885{
2886 assert(end > start);
2887 const size_t bufSize = end - start + 1;
2888
2889 QByteArray bytes;
2890 bytes.resize(bufSize);
2891 getText(bytes.data(), start, end);
2892
2893 return QString(bytes);
2894}
2895
2896QString ScintillaEditView::getEOLString()
2897{

Callers 1

getMarkedLineMethod · 0.95

Calls 2

resizeMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected