|
teditor
1.8.0@@fee5e94
Terminal based editor written in C++
|
Incremental search support used by Ctrl-F command. More...
#include <isearch.h>
Inheritance diagram for teditor::ISearch:Public Member Functions | |
| ISearch (Window &w, bool _noCase) | |
| const std::string & | at (int idx) const |
| int | size () const |
| bool | updateChoices (const std::string &str) |
| std::string | getFinalStr (int idx, const std::string &str) const |
| void | updateMainBuffer (CmdMsgBar &cmBar) |
| void | resetLocations (CmdMsgBar &cmBar) |
| void | reset () |
| bool | emptyAt (int i) const |
| const std::vector< int > & | matchesAt (int i) const |
Public Member Functions inherited from teditor::Choices | |
| Choices (ChoicesFilter cf) | |
| virtual | ~Choices () |
| bool | match (const std::string &line, const std::string &str) const |
| bool | match (int idx, const std::string &str) const |
| void | setChoiceIdx (int idx) |
| int | getChoiceIdx () const |
Incremental search support used by Ctrl-F command.
| teditor::ISearch::ISearch | ( | Window & | w, |
| bool | _noCase | ||
| ) |
|
virtual |
Implements teditor::Choices.
|
inline |
check whether there are matches at a given line num
|
virtual |
Implements teditor::Choices.
| const std::vector< int > & teditor::ISearch::matchesAt | ( | int | i | ) | const |
fetch matches for a given line num
| void teditor::ISearch::reset | ( | ) |
reset the search state
|
virtual |
Reimplemented from teditor::Choices.
|
inlinevirtual |
Implements teditor::Choices.
|
virtual |
Reimplemented from teditor::Choices.
|
virtual |
Reimplemented from teditor::Choices.
1.8.17