package merlin-lib

  1. Overview
  2. Docs
Merlin's libraries

Install

Dune Dependency

Authors

Maintainers

Sources

merlin-5.3-502.tbz
sha256=2cea46f12397fa6e31ef0c0d4f5e11c1cfd916ee49420694005c95ebb3aa24bc
sha512=e94abb9ae38149245337db033e2c3891c7ec772168e99abf1bda0216a894c0854e7170b56fe88eba83ec98f2ebc0f5c7c723e8db14f59eeb6dd348bec12c6d62

doc/merlin-lib.utils/Merlin_utils/Misc/Style/index.html

Module Misc.StyleSource

Sourcetype color =
  1. | Black
  2. | Red
  3. | Green
  4. | Yellow
  5. | Blue
  6. | Magenta
  7. | Cyan
  8. | White
Sourcetype style =
  1. | FG of color
  2. | BG of color
  3. | Bold
  4. | Reset
Sourcetype Format.stag +=
  1. | Style of style list
Sourceval ansi_of_style_l : style list -> string
Sourcetype tag_style = {
  1. ansi : style list;
  2. text_open : string;
  3. text_close : string;
}
Sourcetype styles = {
  1. error : tag_style;
  2. warning : tag_style;
  3. loc : tag_style;
  4. hint : tag_style;
  5. inline_code : tag_style;
}
Sourceval as_inline_code : (Format.formatter -> 'a -> unit) as 'printer -> 'printer
Sourceval inline_code : Format.formatter -> string -> unit
Sourceval default_styles : styles
Sourceval get_styles : unit -> styles
Sourceval set_styles : styles -> unit
Sourceval setup : Color.setting option -> unit
Sourceval set_tag_handling : Format.formatter -> unit
OCaml

Innovation. Community. Security.