From 2f6150f7e549836df78d91d6cf42d4a75d310930 Mon Sep 17 00:00:00 2001 From: Federico Igne Date: Fri, 12 Jan 2024 14:15:07 +0100 Subject: refactor: cursor movement function names to avoid clashes --- lib/editorBuffer.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/editorBuffer.ml') diff --git a/lib/editorBuffer.ml b/lib/editorBuffer.ml index 715855c..2e2b4b6 100644 --- a/lib/editorBuffer.ml +++ b/lib/editorBuffer.ml @@ -14,7 +14,7 @@ let empty = module Action = struct let on_content f b = { b with content = Result.map ~f b.content } - let up, down, left, right = + let move_up, move_down, move_left, move_right = let vertical f ?(n = 1) = on_content (fun z -> let col = focus_or ~default:Zipper.empty z |> left_length in -- cgit v1.2.3