MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / showPointerTargetPicker

Method showPointerTargetPicker

src/editor.cpp:2042–2054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2040// ── Pointer target picker ──
2041
2042void RcxEditor::showPointerTargetPicker() {
2043 if (!m_editState.active || m_editState.target != EditTarget::PointerTarget)
2044 return;
2045 // Replace original target with spaces (keeps layout, clears for typing)
2046 int len = m_editState.original.size();
2047 QString spaces(len, ' ');
2048 m_sci->SendScintilla(QsciScintillaBase::SCI_SETSEL,
2049 m_editState.posStart, m_editState.posEnd);
2050 m_sci->SendScintilla(QsciScintillaBase::SCI_REPLACESEL,
2051 (uintptr_t)0, spaces.toUtf8().constData());
2052 m_sci->SendScintilla(QsciScintillaBase::SCI_GOTOPOS, m_editState.posStart);
2053 showPointerTargetListFiltered(QString());
2054}
2055
2056void RcxEditor::showPointerTargetListFiltered(const QString& filter) {
2057 if (!m_editState.active || m_editState.target != EditTarget::PointerTarget)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected