package utop
Universal toplevel for OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
utop-2.15.0-1.tar.gz
sha256=a11844563c36efefc466076f6f5f114d30eff6f032aec2fbe0dcbd20255d204d
sha512=07991b7a837bb3cae4d0ca2977d011a34f1bb9a7b3b472787010f788aae3b8d7960bc3c5b7f19c3153249dc8f229934b5f48c37d16f93b50eb4d6b5da65dfe7b
doc/utop/UTop_styles/index.html
Module UTop_styles
Source
Styled loaded from ~/.utoprc
Source
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.
Load resources into styles
.
Source
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)"
>