Module Lint.ActionSource
The type for actions associated with a diagnostic
Source
val create :
name:string ->
(view:Code_mirror.Editor.View.t -> from:int -> to_:int -> unit) ->
Lint.Action.tcreate ~name f makes a new action with a function to call when the user activates the action