package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.3.tbz
sha512=d24b09eb520b8b91a1e5715badc9f5bcd6a6ec49c047f719a07afef6b835c128dc63e00c3be73d5353b037f4c3c9f2889e40666b30e297e872e4d011f098394c
doc/b0_b00_kit/B00_editor/index.html
Module B00_editor
Editor interaction.
Environment variables
module Env : sig ... end
Environment variables.
envs ()
describe the VISUAL
and EDITOR
environment variables.
Editing
val find :
?win_exe:bool ->
?search:B00_std.Fpath.t list ->
unit ->
(B00_std.Cmd.t option, string) Stdlib.result
find ?win_exe ?search ()
finds a suitable editor. This is (in order):
Ok (Some pager)
ifpager
is a tool invocation parsed from theVISUAL
environment variable that can be found viaOs.Cmd.find ?search
.Ok (Some pager)
ifpager
is a tool invocation parsed from theEDITOR
environment variable that can be found viaOs.Cmd.find ?win_exe ?search
.Ok (Some pager)
ifnano
can be found viaOs.Cmd.find ?win_exe ?search
.Ok None
otherwise.
val edit_files :
B00_std.Cmd.t option ->
B00_std.Fpath.t list ->
(B00_std.Os.Cmd.status, string) Stdlib.result
edit-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 editor
invokes the command with filesfs
and returns the exit status of the program.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page