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

Method goToCurrentMatch

src/widgets/QuickFindWidget.cpp:232–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void QuickFindWidget::goToCurrentMatch()
233{
234 editor->setSel(matches[currentMatchIndex].first, matches[currentMatchIndex].second);
235 editor->verticalCentreCaret();
236
237 ui->lblInfo->show();
238 ui->lblInfo->setText(tr("%L1/%L2").arg(currentMatchIndex + 1).arg(matches.length()));
239}
240
241int QuickFindWidget::computeSearchFlags() const
242{

Callers

nothing calls this directly

Calls 2

setTextMethod · 0.80
lengthMethod · 0.80

Tested by

no test coverage detected