|
| Buffer (Buffer&& src) noexcept |
|
Buffer& | operator= (Buffer&& src) noexcept |
|
| ~Buffer () noexceptoverride |
|
GtkSourceBuffer* | gobj () |
| Provides access to the underlying C GObject. More...
|
|
const GtkSourceBuffer* | gobj () const |
| Provides access to the underlying C GObject. More...
|
|
GtkSourceBuffer* | gobj_copy () |
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
|
|
bool | get_highlight_matching_brackets () const |
| Determines whether bracket match highlighting is activated for the source buffer. More...
|
|
void | set_highlight_matching_brackets (bool highlight=true) |
| Controls the bracket match highlighting function in the buffer. More...
|
|
bool | get_highlight_syntax () const |
| Determines whether syntax highlighting is activated in the source buffer. More...
|
|
void | set_highlight_syntax (bool highlight=true) |
| Controls whether syntax is highlighted in the buffer. More...
|
|
int | get_max_undo_levels () const |
| Determines the number of undo levels the buffer will track for buffer edits. More...
|
|
void | set_max_undo_levels (int max_undo_levels) |
| Sets the number of undo levels for user actions the buffer will track. More...
|
|
Glib::RefPtr< Language > | get_language () |
| Returns the Language associated with the buffer. More...
|
|
Glib::RefPtr< const Language > | get_language () const |
| Returns the Language associated with the buffer. More...
|
|
void | set_language (const Glib::RefPtr< Language >& language) |
| Associate a Language with the source buffer. More...
|
|
bool | can_undo () const |
| Determines whether a source buffer can undo the last action. More...
|
|
bool | can_redo () const |
| Determines whether a source buffer can redo the last action (i.e. if the last operation was an undo). More...
|
|
void | undo () |
| Undoes the last user action which modified the buffer. More...
|
|
void | redo () |
| Redoes the last undo operation. More...
|
|
void | begin_not_undoable_action () |
| Marks the beginning of a not undoable action on the buffer, disabling the undo manager. More...
|
|
void | end_not_undoable_action () |
| Marks the end of a not undoable action on the buffer. More...
|
|
bool | backward_iter_to_source_mark (Gtk::TextIter& iter, const Glib::ustring& category) |
| Moves iter to the position of the previous Mark of the given category. More...
|
|
bool | backward_iter_to_source_mark (Gtk::TextIter& iter) |
| Moves iter to the position of the previous Mark of any category. More...
|
|
bool | forward_iter_to_source_mark (Gtk::TextIter& iter, const Glib::ustring& category) |
| Moves iter to the position of the next Mark of the given category. More...
|
|
bool | forward_iter_to_source_mark (Gtk::TextIter& iter) |
| Moves iter to the position of the next Mark of the given category. More...
|
|
void | ensure_highlight (const Gtk::TextIter&start, const Gtk::TextIter&end) |
| Forces buffer to analyze and highlight the given area synchronously. More...
|
|
Glib::RefPtr< StyleScheme > | get_style_scheme () |
| Returns the StyleScheme currently used in buffer. More...
|
|
Glib::RefPtr< const StyleScheme > | get_style_scheme () const |
| Returns the StyleScheme currently used in buffer. More...
|
|
void | set_style_scheme (const Glib::RefPtr< StyleScheme >& scheme) |
| Sets style scheme used by the buffer. More...
|
|
void | unset_style_scheme () |
| Unsets style scheme used by the buffer. More...
|
|
Glib::RefPtr< Gsv::Mark > | create_source_mark (const Glib::ustring& name, const Glib::ustring& category, const Gtk::TextIter& where) |
| Creates a source mark in the buffer of category category. More...
|
|
Glib::RefPtr< Gsv::Mark > | create_source_mark (const Glib::ustring& category, const Gtk::TextIter& where) |
| Creates an anonymous source mark in the buffer of category category. More...
|
|
std::vector< Glib::RefPtr< Gsv::Mark > > | get_source_marks_at_line (int line, const Glib::ustring& category) const |
| Returns the list of marks of the given category at line. More...
|
|
std::vector< Glib::RefPtr< Gsv::Mark > > | get_source_marks_at_line (int line) const |
| Returns the list of marks of any category at line. More...
|
|
std::vector< Glib::RefPtr< Gsv::Mark > > | get_source_marks_at_iter (Gtk::TextIter& iter, const Glib::ustring& category) const |
| Returns the list of marks of the given category at iter. More...
|
|
std::vector< Glib::RefPtr< Gsv::Mark > > | get_source_marks_at_iter (Gtk::TextIter& iter) const |
| Returns the list of marks of any category at iter. More...
|
|
void | remove_source_marks (const Gtk::TextIter&start, const Gtk::TextIter&end, const Glib::ustring& category) |
| Remove all marks of category between start and end from the buffer. More...
|
|
void | remove_source_marks (const Gtk::TextIter&start, const Gtk::TextIter&end) |
| Remove all marks of any category between start and end from the buffer. More...
|
|
bool | iter_has_context_class (const Gtk::TextIter& iter, const Glib::ustring& context_class) const |
| Check if the class context_class is set on iter . More...
|
|
bool | iter_backward_to_context_class_toggle (Gtk::TextIter& iter, const Glib::ustring& context_class) const |
| Moves backward to the next toggle (on or off) of the context class. More...
|
|
bool | iter_forward_to_context_class_toggle (Gtk::TextIter& iter, const Glib::ustring& context_class) const |
| Moves forward to the next toggle (on or off) of the context class. More...
|
|
std::vector< Glib::ustring > | get_context_classes_at_iter (const Gtk::TextIter& iter) const |
| Get all defined context classes at iter. More...
|
|
Glib::RefPtr< UndoManager > | get_undo_manager () |
| Get the undo manager associated with the buffer. More...
|
|
Glib::RefPtr< const UndoManager > | get_undo_manager () const |
| Get the undo manager associated with the buffer. More...
|
|
void | set_undo_manager (const Glib::RefPtr< const UndoManager >& undo_manager) |
| Set the buffer undo manager. More...
|
|
void | set_default_undo_manager () |
| Set the default buffer undo manager. More...
|
|
Glib::PropertyProxy< bool > | property_highlight_syntax () |
| Whether to highlight syntax in the buffer. More...
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_highlight_syntax () const |
| Whether to highlight syntax in the buffer. More...
|
|
Glib::PropertyProxy< bool > | property_highlight_matching_brackets () |
| Whether to highlight matching brackets. More...
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_highlight_matching_brackets () const |
| Whether to highlight matching brackets. More...
|
|
Glib::PropertyProxy< int > | property_max_undo_levels () |
| Number of undo levels for the buffer. More...
|
|
Glib::PropertyProxy_ReadOnly< int > | property_max_undo_levels () const |
| Number of undo levels for the buffer. More...
|
|
Glib::PropertyProxy< Glib::RefPtr< Language > > | property_language () |
| Language object to get highlighting patterns from. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< Language > > | property_language () const |
| Language object to get highlighting patterns from. More...
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_can_undo () const |
| Whether Undo operation is possible. More...
|
|
Glib::PropertyProxy_ReadOnly< bool > | property_can_redo () const |
| Whether Redo operation is possible. More...
|
|
Glib::PropertyProxy< Glib::RefPtr< StyleScheme > > | property_style_scheme () |
| Style scheme. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< StyleScheme > > | property_style_scheme () const |
| Style scheme. More...
|
|
Glib::PropertyProxy< Glib::RefPtr< UndoManager > > | property_undo_manager () |
| The buffer undo manager. More...
|
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< UndoManager > > | property_undo_manager () const |
| The buffer undo manager. More...
|
|
Glib::SignalProxy< void, Gtk::TextIter&, Gtk::TextIter& > | signal_highlight_updated () |
| Emitted whenever the syntax highlighting information has been updated, so that views can request a redraw if the region changed is visible. More...
|
|
Glib::SignalProxy< void, const Glib::RefPtr< Gtk::TextMark >& > | signal_source_mark_updated () |
| Emitted whenever a marker of sourcebuffer has changed and needs to be redisplayed by the view. More...
|
|
Glib::SignalProxy< void > | signal_undo () |
| Emitted whenever undo is requested. More...
|
|
Glib::SignalProxy< void > | signal_redo () |
| Emitted whenever redo is requested. More...
|
|
Glib::SignalProxy< void, Gtk::TextIter&, BracketMatchType > | signal_bracket_matched () |
| Sets iter to a valid iterator pointing to the matching bracket if state is BracketMatchType::BRACKET_MATCH_FOUND. More...
|
|
| TextBuffer (TextBuffer &&src) noexcept |
|
TextBuffer & | operator= (TextBuffer &&src) noexcept |
|
| ~TextBuffer () noexceptoverride |
|
GtkTextBuffer * | gobj () |
|
const GtkTextBuffer * | gobj () const |
|
GtkTextBuffer * | gobj_copy () |
|
int | get_line_count () const |
|
int | get_char_count () const |
|
int | size () const |
|
Glib::RefPtr< TextBuffer::TagTable > | get_tag_table () |
|
Glib::RefPtr< const TextBuffer::TagTable > | get_tag_table () const |
|
void | set_text (const Glib::ustring &text) |
|
void | set_text (const char *text_begin, const char *text_end) |
|
iterator | insert (const iterator &pos, const Glib::ustring &text) |
|
iterator | insert (const iterator &pos, const char *text_begin, const char *text_end) |
|
void | insert_at_cursor (const Glib::ustring &text) |
|
void | insert_at_cursor (const char *text_begin, const char *text_end) |
|
std::pair< iterator, bool > | insert_interactive (const iterator &pos, const Glib::ustring &text, bool default_editable=true) |
|
std::pair< iterator, bool > | insert_interactive (const iterator &pos, const char *text_begin, const char *text_end, bool default_editable=true) |
|
bool | insert_interactive_at_cursor (const Glib::ustring &text, bool default_editable=true) |
|
bool | insert_interactive_at_cursor (const char *text_begin, const char *text_end, bool default_editable=true) |
|
iterator | insert (const iterator &pos, const iterator &range_begin, const iterator &range_end) |
|
std::pair< iterator, bool > | insert_interactive (const iterator &pos, const iterator &range_begin, const iterator &range_end, bool default_editable=true) |
|
iterator | insert_with_tag (const iterator &pos, const Glib::ustring &text, const Glib::RefPtr< Tag > &tag) |
|
iterator | insert_with_tag (const iterator &pos, const char *text_begin, const char *text_end, const Glib::RefPtr< Tag > &tag) |
|
iterator | insert_with_tag (const iterator &pos, const Glib::ustring &text, const Glib::ustring &tag_name) |
|
iterator | insert_with_tag (const iterator &pos, const char *text_begin, const char *text_end, const Glib::ustring &tag_name) |
|
iterator | insert_with_tags (const iterator &pos, const Glib::ustring &text, const std::vector< Glib::RefPtr< Tag > > &tags) |
|
iterator | insert_with_tags (const iterator &pos, const char *text_begin, const char *text_end, const std::vector< Glib::RefPtr< Tag > > &tags) |
|
iterator | insert_with_tags_by_name (const iterator &pos, const Glib::ustring &text, const std::vector< Glib::ustring > &tag_names) |
|
iterator | insert_with_tags_by_name (const iterator &pos, const char *text_begin, const char *text_end, const std::vector< Glib::ustring > &tag_names) |
|
iterator | insert_markup (const iterator &pos, const Glib::ustring &markup) |
|
iterator | insert_markup (const iterator &pos, const char *markup_begin, const char *markup_end) |
|
iterator | erase (const iterator &range_begin, const iterator &range_end) |
|
std::pair< iterator, bool > | erase_interactive (const iterator &range_begin, const iterator &range_end, bool default_editable=true) |
|
iterator | backspace (const iterator &iter, bool interactive=true, bool default_editable=true) |
|
Glib::ustring | get_text (const iterator &range_start, const iterator &range_end, bool include_hidden_chars=true) const |
|
Glib::ustring | get_text (bool include_hidden_chars=true) const |
|
Glib::ustring | get_slice (const iterator &range_start, const iterator &range_end, bool include_hidden_chars=true) const |
|
iterator | insert_pixbuf (const iterator &pos, const Glib::RefPtr< Gdk::Pixbuf > &pixbuf) |
|
iterator | insert_child_anchor (const iterator &pos, const Glib::RefPtr< ChildAnchor > &anchor) |
|
Glib::RefPtr< ChildAnchor > | create_child_anchor (const iterator &pos) |
|
void | add_mark (const Glib::RefPtr< TextBuffer::Mark > &mark, const iterator &where) |
|
Glib::RefPtr< TextBuffer::Mark > | create_mark (const Glib::ustring &mark_name, const iterator &where, bool left_gravity=true) |
|
Glib::RefPtr< Mark > | create_mark (const iterator &where, bool left_gravity=true) |
|
void | move_mark (const Glib::RefPtr< Mark > &mark, const iterator &where) |
|
void | delete_mark (const Glib::RefPtr< Mark > &mark) |
|
Glib::RefPtr< TextBuffer::Mark > | get_mark (const Glib::ustring &name) |
|
Glib::RefPtr< const TextBuffer::Mark > | get_mark (const Glib::ustring &name) const |
|
void | move_mark_by_name (const Glib::ustring &name, const iterator &where) |
|
void | delete_mark_by_name (const Glib::ustring &name) |
|
Glib::RefPtr< TextBuffer::Mark > | get_insert () |
|
Glib::RefPtr< TextBuffer::Mark > | get_selection_bound () |
|
void | place_cursor (const iterator &where) |
|
void | apply_tag (const Glib::RefPtr< Tag > &tag, const iterator &range_start, const iterator &range_end) |
|
void | remove_tag (const Glib::RefPtr< Tag > &tag, const iterator &range_start, const iterator &range_end) |
|
void | apply_tag_by_name (const Glib::ustring &name, const iterator &range_start, const iterator &range_end) |
|
void | remove_tag_by_name (const Glib::ustring &name, const iterator &range_start, const iterator &range_end) |
|
void | remove_all_tags (const iterator &range_start, const iterator &range_end) |
|
Glib::RefPtr< Tag > | create_tag (const Glib::ustring &tag_name) |
|
Glib::RefPtr< Tag > | create_tag () |
|
iterator | get_iter_at_line_offset (int line_number, int char_offset) |
|
iterator | get_iter_at_line_index (int line_number, int byte_index) |
|
iterator | get_iter_at_offset (int char_offset) |
|
iterator | get_iter_at_line (int line_number) |
|
iterator | begin () |
|
iterator | end () |
|
void | get_bounds (iterator &range_begin, iterator &range_end) |
|
iterator | get_iter_at_mark (const Glib::RefPtr< Mark > &mark) |
|
iterator | get_iter_at_child_anchor (const Glib::RefPtr< ChildAnchor > &anchor) |
|
bool | get_modified () const |
|
void | set_modified (bool setting=true) |
|
bool | get_has_selection () const |
|
void | add_selection_clipboard (const Glib::RefPtr< Clipboard > &clipboard) |
|
void | remove_selection_clipboard (const Glib::RefPtr< Clipboard > &clipboard) |
|
void | cut_clipboard (const Glib::RefPtr< Clipboard > &clipboard, bool default_editable=true) |
|
void | copy_clipboard (const Glib::RefPtr< Clipboard > &clipboard) |
|
void | paste_clipboard (const Glib::RefPtr< Clipboard > &clipboard, const iterator &override_location, bool default_editable=true) |
|
void | paste_clipboard (const Glib::RefPtr< Clipboard > &clipboard, bool default_editable=true) |
|
bool | get_selection_bounds (iterator &range_start, iterator &range_end) const |
|
bool | erase_selection (bool interactive=true, bool default_editable=true) |
|
void | select_range (const iterator &ins, const iterator &bound) |
|
void | begin_user_action () |
|
void | end_user_action () |
|
Glib::RefPtr< TargetList > | get_copy_target_list () const |
|
Glib::RefPtr< TargetList > | get_paste_target_list () const |
|
Glib::ustring | register_serialize_format (const Glib::ustring &mime_type, const SlotSerialize &slot) |
|
Glib::ustring | register_serialize_tagset (const Glib::ustring &tagset_name) |
|
Glib::ustring | register_deserialize_format (const Glib::ustring &mime_type, const SlotDeserialize &slot) |
|
Glib::ustring | register_deserialize_tagset (const Glib::ustring &tagset_name) |
|
void | unregister_serialize_format (const Glib::ustring &format) |
|
void | unregister_deserialize_format (const Glib::ustring &format) |
|
void | set_can_create_tags (const Glib::ustring &format, bool can_create_tags=true) |
|
bool | get_can_create_tags (const Glib::ustring &format) const |
|
std::vector< Glib::ustring > | get_serialize_formats () const |
|
std::vector< Glib::ustring > | get_deserialize_formats () const |
|
guint8 * | serialize (const Glib::RefPtr< TextBuffer > &content_buffer, const Glib::ustring &format, const iterator &range_start, const iterator &range_end, gsize &length) |
|
bool | deserialize (const Glib::RefPtr< TextBuffer > &content_buffer, const Glib::ustring &format, iterator &iter, const guint8 *data, gsize length) |
|
Glib::SignalProxy< void, const TextBuffer::iterator &, const Glib::ustring &, int > | signal_insert () |
|
Glib::SignalProxy< void, const TextBuffer::iterator &, const Glib::RefPtr< Gdk::Pixbuf > & > | signal_insert_pixbuf () |
|
Glib::SignalProxy< void, const TextBuffer::iterator &, const Glib::RefPtr< ChildAnchor > & > | signal_insert_child_anchor () |
|
Glib::SignalProxy< void, const TextBuffer::iterator &, const TextBuffer::iterator & > | signal_erase () |
|
Glib::SignalProxy< void > | signal_changed () |
|
Glib::SignalProxy< void > | signal_modified_changed () |
|
Glib::SignalProxy< void, const TextBuffer::iterator &, const Glib::RefPtr< TextBuffer::Mark > & > | signal_mark_set () |
|
Glib::SignalProxy< void, const Glib::RefPtr< TextBuffer::Mark > & > | signal_mark_deleted () |
|
Glib::SignalProxy< void, const Glib::RefPtr< TextBuffer::Tag > &, const TextBuffer::iterator &, const TextBuffer::iterator & > | signal_apply_tag () |
|
Glib::SignalProxy< void, const Glib::RefPtr< TextBuffer::Tag > &, const TextBuffer::iterator &, const TextBuffer::iterator & > | signal_remove_tag () |
|
Glib::SignalProxy< void > | signal_begin_user_action () |
|
Glib::SignalProxy< void > | signal_end_user_action () |
|
Glib::SignalProxy< void, const Glib::RefPtr< Gtk::Clipboard > & > | signal_paste_done () |
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< TextBuffer::TagTable > > | property_tag_table () const |
|
Glib::PropertyProxy< Glib::ustring > | property_text () |
|
Glib::PropertyProxy_ReadOnly< Glib::ustring > | property_text () const |
|
Glib::PropertyProxy_ReadOnly< bool > | property_has_selection () const |
|
Glib::PropertyProxy_ReadOnly< int > | property_cursor_position () const |
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< TargetList > > | property_copy_target_list () const |
|
Glib::PropertyProxy_ReadOnly< Glib::RefPtr< TargetList > > | property_paste_target_list () const |
|
Glib::RefPtr< Gtk::TextBuffer > | wrap (GtkTextBuffer *object, bool take_copy=false) |
|
| Object (const Object &)=delete |
|
Object & | operator= (const Object &)=delete |
|
| Object (Object &&src) noexcept |
|
Object & | operator= (Object &&src) noexcept |
|
void * | get_data (const QueryQuark &key) |
|
void | set_data (const Quark &key, void *data) |
|
void | set_data (const Quark &key, void *data, DestroyNotify notify) |
|
void | remove_data (const QueryQuark &quark) |
|
void * | steal_data (const QueryQuark &quark) |
|
Glib::RefPtr< Glib::Object > | wrap (GObject *object, bool take_copy=false) |
|
| ObjectBase (const ObjectBase &)=delete |
|
ObjectBase & | operator= (const ObjectBase &)=delete |
|
void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
|
void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
|
void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
|
void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
|
void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
|
void | connect_property_changed (const Glib::ustring &property_name, sigc::slot< void > &&slot) |
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
|
sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, sigc::slot< void > &&slot) |
|
void | freeze_notify () |
|
void | thaw_notify () |
|
virtual void | reference () const |
|
virtual void | unreference () const |
|
GObject * | gobj () |
|
const GObject * | gobj () const |
|
GObject * | gobj_copy () const |
|
| trackable () noexcept |
|
| trackable (const trackable &src) noexcept |
|
| trackable (trackable &&src) |
|
| ~trackable () |
|
void | add_destroy_notify_callback (void *data, func_destroy_notify func) const |
|
void | notify_callbacks () |
|
trackable & | operator= (const trackable &src) |
|
trackable & | operator= (trackable &&src) |
|
void | remove_destroy_notify_callback (void *data) const |
|