MCPcopy Create free account
hub / github.com/baumgarr/nixnote2 / findShortcut

Method findShortcut

gui/nbrowserwindow.cpp:3824–3837  ·  view source on GitHub ↗

Find shortcut activated

Source from the content-addressed store, hash-verified

3822
3823// Find shortcut activated
3824void NBrowserWindow::findShortcut() {
3825 if (!findReplace->isVisible()) {
3826 findReplace->showFind();
3827 } else {
3828 if (findReplace->findLine->hasFocus())
3829 findReplace->hide();
3830 else {
3831 findReplace->showFind();
3832 findReplace->findLine->setFocus();
3833 findReplace->findLine->selectAll();
3834 }
3835 }
3836
3837}
3838
3839
3840//*******************************************

Callers 1

findInNoteMethod · 0.80

Calls 1

showFindMethod · 0.80

Tested by

no test coverage detected