package b0
Software construction care
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.0.tbz
sha256=dadde8cfa62be9dabd805fc190b415427b4699ffe3458c153e2f3f9cc5c9b9b4
md5=f96ac96fb0182f2b97dbe9ded452544b
doc/b0.care/B0_ui/Editor/index.html
Module B0_ui.Editor
Editor interaction.
Cli arguments
val envs : Cmdliner.Term.env_info list
envs
describe the VISUAL
and EDITOR
environment variable.
Editor
val find :
?search:B0_std.Fpath.t list ->
unit ->
(B0_std.Cmd.t option, string) result
find ?search ~don't
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 ?search
.Ok (Some pager)
ifnano
can be found viaOs.Cmd.find ?search
.Ok None
otherwise.
val edit_files :
B0_std.Cmd.t option ->
B0_std.Fpath.t list ->
(B0_std.Os.Cmd.status, string) 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