[CCode (cname = "gedit_document_save")]
public void do_save (Gedit.DocumentSaveFlags flags);
public static GLib.Quark error_quark ();
+ [Deprecated (since = "3.10")]
public bool get_can_search_again ();
public Gedit.DocumentCompressionType get_compression_type ();
public string get_content_type ();
public bool get_deleted ();
+ [Deprecated (since = "3.10")]
public bool get_enable_search_highlighting ();
public unowned Gedit.Encoding get_encoding ();
public unowned Gtk.SourceLanguage get_language ();
public string get_mime_type ();
public Gedit.DocumentNewlineType get_newline_type ();
public bool get_readonly ();
+ [Deprecated (since = "3.10")]
public string get_search_text (uint? flags);
public string get_short_name_for_display ();
public string get_uri_for_display ();
public virtual void load (GLib.File location, Gedit.Encoding? encoding, int line_pos, int column_pos, bool create);
public bool load_cancel ();
public void load_stream (GLib.InputStream stream, Gedit.Encoding? encoding, int line_pos, int column_pos);
+ [Deprecated (since = "3.10")]
public int replace_all (string find, string replace, uint flags);
public void save_as (GLib.File location, Gedit.Encoding encoding, Gedit.DocumentNewlineType newline_type, Gedit.DocumentCompressionType compression_type, Gedit.DocumentSaveFlags flags);
+ [Deprecated (since = "3.10")]
public bool search_backward (Gtk.TextIter? start, Gtk.TextIter? end, Gtk.TextIter? match_start, Gtk.TextIter? match_end);
+ [Deprecated (since = "3.10")]
public bool search_forward (Gtk.TextIter? start, Gtk.TextIter? end, Gtk.TextIter? match_start, Gtk.TextIter? match_end);
public void set_content_type (string? content_type);
+ [Deprecated (since = "3.10")]
public void set_enable_search_highlighting (bool enable);
public void set_language (Gtk.SourceLanguage? lang);
public void set_location (GLib.File location);
+ [Deprecated (since = "3.10")]
public void set_search_text (string? text, uint flags);
public void set_short_name_for_display (string? short_name);
+ [Deprecated (since = "3.10")]
public bool can_search_again { get; }
[NoAccessorMethod]
public Gedit.DocumentCompressionType compression_type { get; set construct; }
public string content_type { owned get; set; }
+ [NoAccessorMethod]
+ public bool empty_search { get; }
+ [Deprecated (since = "3.10")]
public bool enable_search_highlighting { get; set; }
public Gedit.Encoding encoding { get; }
public GLib.File location { owned get; set; }
public virtual signal void save (GLib.File location, Gedit.Encoding encoding, Gedit.DocumentNewlineType newline_type, Gedit.DocumentCompressionType compression_type, Gedit.DocumentSaveFlags flags);
public virtual signal void saved (GLib.Error error);
public virtual signal void saving (uint64 size, uint64 total_size);
+ [Deprecated (since = "3.10")]
public virtual signal void search_highlight_updated (Gtk.TextIter start, Gtk.TextIter end);
}
[CCode (cheader_filename = "gedit/gedit-encodings.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gedit_encoding_get_type ()")]
SAVE_TO_DISK
}
[CCode (cheader_filename = "gedit/gedit-document.h", cprefix = "GEDIT_SEARCH_", type_id = "gedit_search_flags_get_type ()")]
+ [Deprecated (since = "3.10")]
[Flags]
public enum SearchFlags {
DONT_SET_FLAGS,
public static void debug_init ();
[CCode (cheader_filename = "gedit/gedit-debug.h")]
public static void debug_plugin_message (string file, int line, string function, string message);
- [CCode (cheader_filename = "Gedit-3.0.h")]
+ [CCode (cheader_filename = "gedit/gedit-utils.h")]
public static unowned Gtk.Widget dialog_add_button (Gtk.Dialog dialog, string text, string stock_id, int response_id);
- [CCode (cheader_filename = "Gedit-3.0.h")]
+ [CCode (cheader_filename = "gedit/gedit-utils.h")]
public static Gtk.Widget gtk_button_new_with_stock_icon (string label, string stock_id);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_basename_for_display (GLib.File location);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gedit/gedit-utils.h")]
public static string[] utils_drop_get_uris (Gtk.SelectionData selection_data);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
+ [Deprecated (since = "3.10")]
public static string utils_escape_search_text (string text);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_escape_underscores (string text, ssize_t length);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_str_middle_truncate (string string, uint truncate_length);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
+ [Deprecated (since = "3.10")]
public static string utils_unescape_search_text (string text);
[CCode (cheader_filename = "gedit/gedit-utils.h")]
public static string utils_uri_get_dirname (string uri);