MCPcopy Create free account
hub / github.com/KDE/labplot / replaceNext

Method replaceNext

src/frontend/spreadsheet/SearchReplaceWidget.cpp:1094–1100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1092}
1093
1094void SearchReplaceWidget::replaceNext() {
1095 // check the current cell first (no proceed) whether the value matches and needs to be replaced.
1096 // if it doesn't match, proceed to the next cell.
1097 const bool found = findNext(false /* proceed */, true /* find and replace */);
1098 if (!found)
1099 findNext(true /* proceed */, true /* find and replace */);
1100}
1101
1102void SearchReplaceWidget::replaceAll() {
1103 const auto type = static_cast<DataType>(uiSearchReplace.cbDataType->currentIndex());

Callers 2

testSearchReplaceTextMethod · 0.80

Calls

no outgoing calls

Tested by 2

testSearchReplaceTextMethod · 0.64