Module Ecaml.Tabulated_listSource

Tabulated lists display table data, one line per record and one column per field.

Note that we attempt to improve upon the elisp interface of tabulated-list-mode.

Sourcemodule Column : sig ... end
Sourcetype ('record, 'id) t
Sourceval create : Major_mode.t -> 'record Column.t list -> id_equal:('id -> 'id -> bool) -> id_type:'id Ecaml_value.Value.Type.t -> id_of_record:('record -> 'id) -> ('record, 'id) t

Raises unless the major mode derives from Tabulated_list_mode.major_mode.

Sourceval keymap : (_, _) t -> Keymap.t
Sourceval major_mode : (_, _) t -> Major_mode.t
Sourceval draw : ?sort_by:(string * [ `Ascending | `Descending ]) -> ('record, 'id) t -> 'record list -> unit
Sourceval get_id_at_point_exn : ('record, 'id) t -> 'id option

get_id_at_point_exn returns None if there is no id at point, and raises if the id at point cannot be of_value_exn'ed.

Sourceval move_point_to_id : ('record, 'id) t -> 'id -> unit
Sourceval current_buffer_has_entries : unit -> bool
Sourceval revert_hook : Hook.normal Hook.t

(describe-variable 'tabulated-list-revert-hook)