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

Method replaceTargetRegExMode

src/scintillaeditview.cpp:1723–1730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1721}
1722
1723intptr_t ScintillaEditView::replaceTargetRegExMode(QByteArray& re, intptr_t fromTargetPos, intptr_t toTargetPos) const
1724{
1725 if (fromTargetPos != -1 || toTargetPos != -1)
1726 {
1727 execute(SCI_SETTARGETRANGE, fromTargetPos, toTargetPos);
1728 }
1729 return execute(SCI_REPLACETARGETRE, re.size(), reinterpret_cast<sptr_t>(re.data()));
1730}
1731
1732
1733//替换fromTargetPos 到 toTargetPos的内容为str2replace。

Callers 1

doReplaceAllMethod · 0.80

Calls 2

dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected