chore: remove old and unused code
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user