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

Method computeSearchFlags

src/widgets/QuickFindWidget.cpp:241–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241int QuickFindWidget::computeSearchFlags() const
242{
243 int searchFlags = 0;
244
245 if (ui->buttonMatchCase->isChecked()) {
246 searchFlags |= SCFIND_MATCHCASE;
247 }
248
249 if (ui->buttonWholeWord->isChecked()) {
250 searchFlags |= SCFIND_WHOLEWORD;
251 }
252
253 if (ui->buttonRegexp->isChecked()) {
254 searchFlags |= SCFIND_REGEXP;
255 }
256
257 return searchFlags;
258}
259
260void QuickFindWidget::setSearchContextColor(const QString &color)
261{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected