package b0
Software construction and deployment kit
Install
dune-project
Dependency
Authors
Maintainers
Sources
b0-0.0.6.tbz
sha512=e9aa779e66c08fc763019f16d4706f465d16c05d6400b58fbd0313317ef33ddea51952e2b058db28e65f7ddb7012f328c8bf02d8f1da17bb543348541a2587f0
doc/b0.std/B0_editor/index.html
Module B0_editor
Source
Editor interaction.
Editing
The type for editors.
find ?search ?cmd ()
finds a suitable editor. This is (in order):
Ok e
orError _
ifcmd
is specified and according to whetherOS.Cmd.get ?search
succeedsOk e
ifpager
is a tool invocation parsed from theVISUAL
environment variable that can be found viaOs.Cmd.find ?search
.Ok e
ifpager
is a tool invocation parsed from theEDITOR
environment variable that can be found viaOs.Cmd.find ?search
Ok e
ifCmd.tool "nano"
can be found viaOs.Cmd.find ?search
.Error _
otherwise.
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.
Cli interaction
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page