remove 'searchString' field from app_type, because the same role is fulfilled by new 'dfa' field

This commit is contained in:
2025-10-08 05:40:29 +01:00
parent df346d0a9e
commit 06106f5de8
9 changed files with 46 additions and 84 deletions

View File

@@ -259,7 +259,7 @@ struct
fun yankInsideWord (app: app_type) =
let
val {buffer, cursorIdx, searchString, ...} = app
val {buffer, cursorIdx, ...} = app
val buffer = LineGap.goToIdx (cursorIdx, buffer)
val low = Cursor.prevWordStrict (buffer, cursorIdx, 1)
val high = Cursor.endOfWordStrict (buffer, cursorIdx, 1)
@@ -278,7 +278,7 @@ struct
fun yankInsideWORD (app: app_type) =
let
val {buffer, cursorIdx, searchString, ...} = app
val {buffer, cursorIdx, ...} = app
val buffer = LineGap.goToIdx (cursorIdx, buffer)
val low = Cursor.prevWORDStrict (buffer, cursorIdx, 1)
val high = Cursor.endOfWORDStrict (buffer, cursorIdx, 1)