add dfa field to app_type so that we don't rebuild DFA each time we want to execute a search again (like after deleting)

This commit is contained in:
2025-10-08 05:02:15 +01:00
parent 7f68084398
commit fd8385fa81
5 changed files with 27 additions and 3 deletions

View File

@@ -93,9 +93,11 @@ struct
val msgs = DRAW drawMsg :: initialMsg
val mode = NORMAL_MODE ""
val dfa = raise Fail "todo"
in
NormalSearchModeWith.returnToNormalMode
(app, buffer, searchString, tempSearchList, startLine, mode, msgs)
(app, buffer, searchString, tempSearchList, startLine, mode, dfa, msgs)
end
fun backspace