diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-11-16 16:30:46 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2016-11-18 07:25:00 +0100 |
commit | be39ab9fdbaba118ece1dcc3e064c8452fcdd277 (patch) | |
tree | 4436de46028c2a984f6ee27f0fc80b263ebc1448 /src/search.cpp | |
parent | b44a4bae7d5c1098709dfaffd122263e0f4c5bc6 (diff) | |
download | sciteco-be39ab9fdbaba118ece1dcc3e064c8452fcdd277.tar.gz |
the manual generator (generator-docs.tes) has been cleaned up and is now called tedoc.tes
* some code simplifications
* it now supports command line arguments via getopt.tes.
* the -C flag enabled C/C++ mode.
By default tedoc parses SciTECO code which means it can be used
to document macro packages as well.
* Therefore it is installed as a separate tool now.
It may be used as a Groff preprocessor for third-party macro
authors to generate (wo)man pages.
* there's a man page tedoc.tes(1)
* The troff placeholder macro is now called ".TEDOC".
* Help topics can now be specified after the starting comment /*$ or !*$.
Topics have been defined for all built-in commands.
Diffstat (limited to 'src/search.cpp')
-rw-r--r-- | src/search.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/search.cpp b/src/search.cpp index d5b314b..5040a2f 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -55,7 +55,7 @@ namespace States { * Command states */ -/*$ +/*$ S search pattern * S[pattern]$ -- Search for pattern * [n]S[pattern]$ * -S[pattern]$ @@ -648,7 +648,7 @@ StateSearch::done(const gchar *str) return &States::start; } -/*$ +/*$ N * [n]N[pattern]$ -- Search over buffer-boundaries * -N[pattern]$ * from,toN[pattern]$ @@ -740,7 +740,7 @@ StateSearchAll::done(const gchar *str) return &States::start; } -/*$ +/*$ FK * FK[pattern]$ -- Delete up to occurrence of pattern * [n]FK[pattern]$ * -FK[pattern]$ @@ -799,7 +799,7 @@ StateSearchKill::done(const gchar *str) return &States::start; } -/*$ +/*$ FD * FD[pattern]$ -- Delete occurrence of pattern * [n]FD[pattern]$ * -FD[pattern]$ @@ -834,7 +834,7 @@ StateSearchDelete::done(const gchar *str) return &States::start; } -/*$ +/*$ FS * FS[pattern]$[string]$ -- Search and replace * [n]FS[pattern]$[string]$ * -FS[pattern]$[string]$ @@ -875,7 +875,7 @@ StateReplace_ignore::done(const gchar *str) return &States::start; } -/*$ +/*$ FR * FR[pattern]$[string]$ -- Search and replace with default * [n]FR[pattern]$[string]$ * -FR[pattern]$[string]$ |