package chamo

  1. Overview
  2. Docs
val mutable file : buffered_file
val mutable on_focus_in : unit -> unit
method add_clipboard_to_pastable_history : unit
method attributes : (string * string) list
method xml_children : Chamo.Xml.t list
method backward_char : unit
method backward_line : unit
method backward_word : unit
method beginning_of_line : unit
method bookmarks_menus : (string * Stk.Menu.menu_entry list) list
method box : Stk.Widget.widget
method buffer_modified : bool
method buffer_name : string
method close : unit
method connect_buffer_events : unit
method copy : (unit -> unit) option
method current_line : int
method cut : (unit -> unit) option
method cut_to_selection : ?concat:[ `APPEND | `PREPEND ] -> start:int -> stop:int -> unit -> unit
method delete_char : bool -> unit
method display_buffer_name : unit
method display_encoding : unit
method display_location : unit
method display_mode : unit
method display_modified : unit
method display_state : unit
method display_stx_mode : unit
method do_save : unit Lwt.t
method dup : Chamo.View.topwin -> Chamo.View.gui_view option
method end_of_line : unit
method file : buffered_file
method filename : string
method forward_char : unit
method forward_line : unit
method forward_word : unit
method goto_char : int -> unit
method goto_line : int -> unit
method grab_focus : unit
method has_focus : bool
method insert : string -> unit
method key_bindings : (Stk.Key.keystate list * string) list
method kill_line : append:bool -> unit
method kill_word : ?concat:[ `APPEND | `PREPEND ] -> bool -> unit
method kind : string
method location_in_buffer : int * int
method menus : (string * Stk.Menu.menu_entry list) list
method minibuffer : Chamo.Minibuffer.minibuffer
method my_set_label : unit
method paste : (unit -> unit) option
method redo : unit
method reload : (unit -> unit Lwt.t) option
method save : (unit -> unit Lwt.t) option
method save_as : (unit -> unit Lwt.t) option
method scrollbox : Stk.Bin.scrollbox
method select_location : location -> unit
method select_location_opt : location option -> unit
method select_range_in_file : left:int -> right:int -> unit -> unit

Select the given range in the buffer. The left and right parameters are character offsets in the file.

method set_file : ?focus_in:bool -> buffered_file -> unit
method set_label : string -> unit
method set_mode : mode option -> unit
method set_on_focus_in : (unit -> unit) -> unit
method set_encoding : string option -> unit
method set_syntax_mode : string option -> unit
method set_wrap_mode : Stk.Textview.wrap_mode -> unit
method source_buffer : my_buffer
method source_view : Stk.Textview.textview
method switch_highlight_current_line : ?v:bool -> unit -> unit
method switch_line_markers : ?v:bool -> unit -> unit
method switch_line_numbers : ?v:bool -> unit -> unit
method transpose_chars : unit
method transpose_lines : unit
method transpose_words : unit
method undo : unit
method update_menus : unit
method private write_file : unit Lwt.t
OCaml

Innovation. Community. Security.