aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/search.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-06-07 13:58:39 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-06-07 13:58:39 +0300
commit59d1188feb5c037eeffe6ba782ab362d2bb46a2d (patch)
tree14910c4d3d9fb0874ca06562177f4adfa1162132 /src/search.h
parent7c182a05d8127e184dca239073569297f2618b8b (diff)
downloadsciteco-59d1188feb5c037eeffe6ba782ab362d2bb46a2d.tar.gz
added <FN> as a search-and-replace variant of <N>
* This is not in Video TECO, but TECO-11 has a search-and-replace variant of <N>. <N> however is a search-over-page-boundary command in TECO-11, which has been repurposed as search-over-buffer-boundary in Video TECO and SciTECO. * <N> and <FN> no longer call the edit hook after *every* invocation, but only if the current buffer changes. This is not really relevant with the current default hook from fallback.teco_ini, but might be depending on the use case. * Added testcases both for <N> and <FN>.
Diffstat (limited to 'src/search.h')
-rw-r--r--src/search.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/search.h b/src/search.h
index 621fdd1..222ca6c 100644
--- a/src/search.h
+++ b/src/search.h
@@ -28,3 +28,4 @@ TECO_DECLARE_STATE(teco_state_search_kill);
TECO_DECLARE_STATE(teco_state_search_delete);
TECO_DECLARE_STATE(teco_state_replace);
TECO_DECLARE_STATE(teco_state_replace_default);
+TECO_DECLARE_STATE(teco_state_replace_default_all);