chore: remove old and unused code

This commit is contained in:
2026-08-03 13:08:18 +02:00
parent 312b25fd39
commit 4fcc479779
17 changed files with 325 additions and 142 deletions

View File

@@ -617,10 +617,6 @@ func normalEditorLineLast(value string, cursor, wrapWidth int) int {
return start
}
func moveNormalCursorLine(value string, cursor, delta int) int {
return moveEditorCursorLine(value, cursor, delta, 0, true)
}
func nextWordStart(value string, cursor int, big bool) int {
runes := []rune(value)
cursor = clamp(cursor, 0, len(runes))
@@ -666,10 +662,6 @@ func previousWordStart(value string, cursor int, big bool) int {
return cursor
}
func wordEnd(value string, cursor int, big bool) int {
return wordEndAtWidth(value, cursor, big, 0)
}
func wordEndAtWidth(value string, cursor int, big bool, wrapWidth int) int {
runes := []rune(value)
cursor = clamp(cursor, 0, len(runes))