delete 'nextMatch' function in search-list.sml, and refactor other code to use alternative function
This commit is contained in:
@@ -168,7 +168,7 @@ struct
|
||||
fun yankToNextMatch (app: app_type, count) =
|
||||
let
|
||||
val {cursorIdx, searchList, buffer, ...} = app
|
||||
val high = SearchList.nextMatch (cursorIdx, searchList, count)
|
||||
val high = PersistentVector.nextMatch (cursorIdx, searchList, count)
|
||||
in
|
||||
if high = ~1 orelse high <= cursorIdx then
|
||||
NormalFinish.clearMode app
|
||||
|
||||
Reference in New Issue
Block a user