package utop
Universal toplevel for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
utop-2.12.1.tbz
sha256=67a4b7a54138458e50ee4791515490bb392291ec1680cfac44b81c47ef1b2253
sha512=a3957684b5124227ff5c18aa3221aa3cdfdffce345df49db7ac84005012bcdda6e12ad00466f592f3b42ead50626fc250713a91ca4500b7ab2e89b15d96a3f84
doc/utop/UTop_styles/index.html
Module UTop_styles
Styled loaded from ~/.utoprc
type styles = {
mutable style_keyword : LTerm_style.t;
mutable style_symbol : LTerm_style.t;
mutable style_ident : LTerm_style.t;
mutable style_module : LTerm_style.t;
mutable style_constant : LTerm_style.t;
mutable style_char : LTerm_style.t;
mutable style_string : LTerm_style.t;
mutable style_quotation : LTerm_style.t;
mutable style_comment : LTerm_style.t;
mutable style_doc : LTerm_style.t;
mutable style_blanks : LTerm_style.t;
mutable style_error : LTerm_style.t;
mutable style_directive : LTerm_style.t;
mutable style_paren : LTerm_style.t;
mutable style_font : string option;
mutable style_foreground : LTerm_style.color option;
mutable style_background : LTerm_style.color option;
mutable style_cursor : LTerm_style.color option;
}
Type of utop styles.
val styles : styles
The styles in use.
val stylise :
(UTop_token.location -> LTerm_style.t -> unit) ->
(UTop_token.t * UTop_token.location) list ->
unit
stylise apply tokens
calls apply
on all token locations with the associated style.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>