summaryrefslogtreecommitdiff
path: root/lib/editorBuffer.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/editorBuffer.ml')
-rw-r--r--lib/editorBuffer.ml2
1 files changed, 1 insertions, 1 deletions
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 =
14module Action = struct 14module Action = struct
15 let on_content f b = { b with content = Result.map ~f b.content } 15 let on_content f b = { b with content = Result.map ~f b.content }
16 16
17 let up, down, left, right = 17 let move_up, move_down, move_left, move_right =
18 let vertical f ?(n = 1) = 18 let vertical f ?(n = 1) =
19 on_content (fun z -> 19 on_content (fun z ->
20 let col = focus_or ~default:Zipper.empty z |> left_length in 20 let col = focus_or ~default:Zipper.empty z |> left_length in