Module Lint.ActionSource

Sourcetype t

The type for actions associated with a diagnostic

Sourceval create : name:string -> (view:Code_mirror.View.EditorView.t -> from:int -> to_:int -> unit) -> t

create ~name f makes a new action with a function to call when the user activates the action