rename 'Cursor.toNextChrNew' function to 'Cursor.toNextChr', and update usages to change the name as well.

This commit is contained in:
2025-10-18 15:17:26 +01:00
parent e07f21d6f4
commit 9f53c5549a
4 changed files with 12 additions and 14 deletions

View File

@@ -522,7 +522,7 @@ struct
val {cursorIdx, buffer, searchList, bufferModifyTime, ...} = app
val buffer = LineGap.goToIdx (cursorIdx, buffer)
val newCursorIdx =
Cursor.toNextChrNew (buffer, cursorIdx, {findChr = chr, count = count})
Cursor.toNextChr (buffer, cursorIdx, {findChr = chr, count = count})
in
if newCursorIdx = ~1 then
NormalFinish.clearMode app
@@ -536,7 +536,7 @@ struct
val {cursorIdx, buffer, searchList, bufferModifyTime, ...} = app
val buffer = LineGap.goToIdx (cursorIdx, buffer)
val newCursorIdx =
Cursor.toNextChrNew (buffer, cursorIdx, {findChr = chr, count = count})
Cursor.toNextChr (buffer, cursorIdx, {findChr = chr, count = count})
in
if newCursorIdx = ~1 then
NormalFinish.clearMode app