- public void commands_load_location (Window window, File location, SourceEncoding? encoding, int line_pos, int column_pos)
Loads location
.
- public SList<unowned Document> commands_load_locations (Window window, SList<File> locations, SourceEncoding? encoding, int line_pos, int column_pos)
Loads locations
.
- public void commands_save_all_documents (Window window)
Asynchronously save all documents belonging to window
.
- public void commands_save_document (Window window, Document document)
Asynchronously save document
.
- public async bool commands_save_document_async (Document document, Window window, Cancellable? cancellable)
Asynchronously save the document
.
- public void debug (DebugSection section, string file, int line, string function)
If section
is enabled, then logs the trace information
file
, line
, and function
.
- public void debug_init ()
Initializes the debugging subsystem of gedit.
- public void debug_plugin_message (string file, int line, string function, string message)
If the section
DEBUG_PLUGINS is enabled, then logs the trace information
file
, line
, and function
along with message
.
- public string utils_basename_for_display (File location)
- public string[] utils_drop_get_uris (SelectionData selection_data)
Create a list of valid uri's from a uri-list drop.
- public SourceCompressionType utils_get_compression_type_from_content_type (string content_type)
- public bool utils_is_valid_location (File location)
- public string utils_location_get_dirname_for_display (File location)
Returns a string suitable to be displayed in the UI indicating the name of
the directory where the file is located.
- public bool utils_menu_position_under_tree_view (TreeView tree_view, Rectangle rect)
- public unowned string utils_newline_type_to_string (SourceNewlineType newline_type)
- public void utils_set_atk_name_description (Widget widget, string name, string description)
This function sets up name and description for a specified gtk widget.
- public string utils_set_direct_save_filename (DragContext context)