aboutsummaryrefslogtreecommitdiff
path: root/lib/stitched_article.ml
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-05-16 08:39:54 -0500
committerMarc Coquand <marc@mccd.space>2024-05-16 08:39:54 -0500
commit091cc7925e811c543bb3a55bc34dc439630fb063 (patch)
treeb502a59bf7eace899bd31c3d3c3dc66caa5365d2 /lib/stitched_article.ml
parent1d1c0f73f95429384d0b571c0c844acf9073d32f (diff)
downloadstitch-091cc7925e811c543bb3a55bc34dc439630fb063.tar.gz
stitch-091cc7925e811c543bb3a55bc34dc439630fb063.tar.bz2
stitch-091cc7925e811c543bb3a55bc34dc439630fb063.zip
Fix editor opening
Diffstat (limited to 'lib/stitched_article.ml')
-rw-r--r--lib/stitched_article.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitched_article.ml b/lib/stitched_article.ml
index 1698e68..ce7bc0c 100644
--- a/lib/stitched_article.ml
+++ b/lib/stitched_article.ml
@@ -117,7 +117,7 @@ let rec render
it adds by removing the file_number *)
let line_number_arg = "+" ^ Int.to_string (line_number - file_number_offset) in
let full_args =
- Array.append (Array.of_list args) [| line_number_arg; full_path_file |]
+ Array.append (Array.of_list args) [| ""; full_path_file; line_number_arg |]
in
Common.Term.cursor t (Some (0, 0));
let _ =