Loads locations
. Ignore non-existing locations.
a #GeditWindow
the locations to load
the #GtkSourceEncoding
the line position to place the cursor
the line column to place the cursor
Asynchronously save the document
. document
must belong to window
. The
source object of the async task is document
(which will be the first
parameter of the #GAsyncReadyCallback).
When the operation is finished, callback
will be called. You can then call
gedit_commands_save_document_finish() to get the result of the operation.
the #GeditDocument to save.
a #GeditWindow.
optional #GCancellable object, %NULL to ignore.
a #GAsyncReadyCallback to call when the operation is finished.
Finishes an asynchronous document saving operation started with gedit_commands_save_document_async().
Note that there is no error parameter because the errors are already handled by gedit.
a #GeditDocument.
a #GAsyncResult.
If section
is enabled, then logs the trace information file,
line,
and
function
.
debug section.
file name.
line number.
name of the function that is calling gedit_debug().
Initializes the debugging subsystem of gedit.
The function checks for the existence of certain environment variables to
determine whether to enable output for a debug section. To enable output
for a specific debug section, set an environment variable of the same name;
e.g. to enable output for the %GEDIT_DEBUG_PLUGINS section, set a
GEDIT_DEBUG_PLUGINS
environment variable. To enable output
for all debug sections, set the GEDIT_DEBUG
environment
variable.
This function must be called before any of the other debug functions are called. It must only be called once.
If the section %GEDIT_DEBUG_PLUGINS is enabled, then logs the trace
information file,
line,
and function
along with message
.
This function may be overridden by GObject Introspection language bindings to be more language-specific.
A PyGObject override is provided that has the following signature:
It automatically supplies parameters file,
line,
and function,
and it
formats format_str
with the given format arguments. The syntax
of the format string is the usual Python string formatting syntax described
by
file name.
line number.
name of the function that is calling gedit_debug_plugin_message().
a message.
Parse and break an uri apart in its individual components like the uri scheme, user info, port, host and path. The return value pointer can be %NULL to ignore certain parts of the uri. If the function returns %TRUE, then all return value pointers should be freed using g_free
the uri to decode
Create a list of valid uri's from a uri-list drop.
the #GtkSelectionData from drag_data_received
Loads
location
. Ignores non-existing locations.