package b0
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Software construction and deployment kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
b0-0.0.5.tbz
sha512=00a6868b4dfa34565d0141b335622a81a0e8d5b9e3c6dfad025dabfa3df2db2a1302b492953bbbce30c3a4406c324fcec25250a00b38f6d18a69e15605e3b07e
doc/b0_b00_kit/B00_editor/index.html
Module B00_editor
Editor interaction.
Environment variables
module Env : sig ... endEnvironment variables.
envs () describe the VISUAL and EDITOR environment variables.
Editing
val find :
?win_exe:bool ->
?search:B0_std.Fpath.t list ->
unit ->
(B0_std.Cmd.t option, string) Stdlib.resultfind ?win_exe ?search () finds a suitable editor. This is (in order):
Ok (Some pager)ifpageris a tool invocation parsed from theVISUALenvironment variable that can be found viaOs.Cmd.find ?search.Ok (Some pager)ifpageris a tool invocation parsed from theEDITORenvironment variable that can be found viaOs.Cmd.find ?win_exe ?search.Ok (Some pager)ifnanocan be found viaOs.Cmd.find ?win_exe ?search.Ok Noneotherwise.
val edit_files :
B0_std.Cmd.t option ->
B0_std.Fpath.t list ->
(B0_std.Os.Cmd.status, string) Stdlib.resultedit-files editor fs uses editor to edit the files fs. If editor is:
None, an error message is returned mentioning that no editor was found.Some editorinvokes the command with filesfsand returns the exit status of the program.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page