changeset 51382:ed0b78b2a3aa

crecord: add a default regex to curseschunkselector Whether there is a regex to search or not will affect if we can find the next or the previous search hit.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Wed, 14 Feb 2024 22:46:41 -0500
parents 1d488f7be492
children 880740426a34
files mercurial/crecord.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/crecord.py	Wed Feb 14 22:43:51 2024 -0500
+++ b/mercurial/crecord.py	Wed Feb 14 22:46:41 2024 -0500
@@ -709,6 +709,8 @@
             )
         self.operation = operation
 
+        self.regex = None
+
     def uparrowevent(self):
         """
         try to select the previous item to the current item that has the