diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-12-04 04:46:13 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-12-04 04:57:18 +0100 |
commit | 266cdca115c7e9b14f734da478d04a8ce0c2cb69 (patch) | |
tree | fc955705cbca32957a929fc803ad5801dfe212b9 /search.h | |
parent | 99bc57227170fea32cb3dbf923a4b4ab00aca1cc (diff) | |
download | sciteco-266cdca115c7e9b14f734da478d04a8ce0c2cb69.tar.gz |
search-kill command (FK)
* like the other search-related commands the operation (delete, kill, replace) is not performed until the
search pattern string argument is terminated (simplifies implementation and has visual advantages)
Diffstat (limited to 'search.h')
-rw-r--r-- | search.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -48,6 +48,11 @@ private: State *done(const gchar *str) throw (Error); }; +class StateSearchKill : public StateSearch { +private: + State *done(const gchar *str) throw (Error); +}; + class StateSearchDelete : public StateSearch { public: StateSearchDelete(bool last = true) : StateSearch(last) {} @@ -86,6 +91,7 @@ private: namespace States { extern StateSearch search; extern StateSearchAll searchall; + extern StateSearchKill searchkill; extern StateSearchDelete searchdelete; extern StateReplace replace; extern StateReplace_insert replace_insert; |