From 07b52f78680858683acb4e40b158f8926285cae4 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 19 Nov 2024 14:33:30 +0300 Subject: implemented search mode flag (^X): allow case-sensitive searches (closes #17) * Usually you will only want -^X for enabling case sensitive searches and 0^X for case-insensitive searches (which is also the default). * An open question is what happens if the user sets -^X and then calls a macro. The search mode flag should probably be stacked away along with the search-string. This means we'd need a ^X special Q-Reg as well, so you can write [^X[_ 0^X S...$ ]_]^X. Alternatively, the search mode flag should be a property of the macro frame, along with the radix. --- TODO | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index ea7b36d..9a353eb 100644 --- a/TODO +++ b/TODO @@ -324,10 +324,7 @@ Features: (request of N.M.). Could be called <_> (a global-search variant in classic TECO). * Shortcut for cutting into Q-Register. Typing 10Xq10K is very - annoying to type. We could use the @ modifier 10@Xq or - define a new command, like ^X (search-mode flag in classic - TECO). On the other hand, a search mode setting would be - useful in SciTECO as well! + annoying to type. We could use the @ modifier 10@Xq. FX would be available as well, but is perhaps best reserved for some mmenonics. An elegant alternative might be to introduce single-character -- cgit v1.2.3