pass DFA to 'SearchList.buildRange' function, so that we don't need to parse search string into DFA each time

This commit is contained in:
2025-10-08 05:20:33 +01:00
parent fd8385fa81
commit 8857f49537
5 changed files with 75 additions and 54 deletions

View File

@@ -49,6 +49,7 @@ struct
, floatWindowHeight
, searchCursorIdx
, searchScrollColumn
, caseSensitive
)
val buffer = LineGap.goToIdx (cursorIdx, buffer)
@@ -121,6 +122,7 @@ struct
, floatWindowHeight
, searchCursorIdx
, searchScrollColumn
, caseSensitive
)
val buffer = LineGap.goToIdx (cursorIdx, buffer)