Chamo.Sourceview_rc
Configuration of the "sourceview" view.
The function to get the configuration file of a mode, from the mode name.
The function to get the local configuration file of a mode, from the mode name.
Associations between regular expressions on filenames and mime type, to get the correct language syntax highlighting.
Associations between regular expressions in filenames and mode names.
Default wrap mode to use when creating a sourceview, if no indication is given.
This function adds a key binding for the view, described by a combination of key hits and an associated command name.
Same as add_sourceview_key_binding
but the combination of key hits is given as a string.
val create_add_sourceview_mode_binding_commands :
(Stk.Key.keystate list * string) list Ocf.conf_option ->
string ->
(Stk.Key.keystate list -> string -> unit) * (string -> string -> unit)
This function creates, for a key bindings option and a given mode name, two functions to add a key binding to the mode, and also register a command to add a binding to the mode. The command name is called add_sourceview_mode_<mode name>_key_binding
. This function uses Commands.create_add_binding_commands
.