Provided by: libgtk2-sourceview2-perl_0.10-2build4_amd64
NAME
Gtk2::SourceView2::Buffer
HIERARCHY
Glib::Object +----Gtk2::TextBuffer +----Gtk2::SourceView2::Buffer
METHODS
buffer = Gtk2::SourceView2::Buffer->new ($table) • $table (Gtk2::TextTagTable or undef) buffer = Gtk2::SourceView2::Buffer->new_with_language ($language) • $language (Gtk2::SourceView2::Language) boolean = $buffer->backward_iter_to_source_mark ($iter, $category) • $iter (Gtk2::TextIter) • $category (string or undef) $buffer->begin_not_undoable_action boolean = $buffer->can_redo boolean = $buffer->can_undo mark = $buffer->create_source_mark ($name, $category, $where) • $name (string or undef) • $category (string) • $where (Gtk2::TextIter) $buffer->end_not_undoable_action $buffer->ensure_highlight ($start, $end) • $start (Gtk2::TextIter) • $end (Gtk2::TextIter) boolean = $buffer->forward_iter_to_source_mark ($iter, $category) • $iter (Gtk2::TextIter) • $category (string or undef) boolean = $buffer->get_highlight_matching_brackets $buffer->set_highlight_matching_brackets ($highlight) • $highlight (boolean) boolean = $buffer->get_highlight_syntax $buffer->set_highlight_syntax ($highlight) • $highlight (boolean) language or undef = $buffer->get_language $buffer->set_language ($language) • $language (Gtk2::SourceView2::Language or undef) integer = $buffer->get_max_undo_levels $buffer->set_max_undo_levels ($max_undo_levels) • $max_undo_levels (integer) $buffer->redo $buffer->remove_source_marks ($start, $end, $category) • $start (Gtk2::TextIter) • $end (Gtk2::TextIter) • $category (string or undef) $buffer->get_source_marks_at_iter ($iter, $category) • $iter (Gtk2::TextIter) • $category (string or undef) $buffer->get_source_marks_at_line ($line, $category) • $line (integer) • $category (string or undef) stylescheme or undef = $buffer->get_style_scheme $buffer->set_style_scheme ($scheme) • $scheme (Gtk2::SourceView2::StyleScheme) $buffer->undo
PROPERTIES
'can-redo' (boolean : default false : readable) Whether Redo operation is possible 'can-undo' (boolean : default false : readable) Whether Undo operation is possible 'highlight-matching-brackets' (boolean : default true : readable / writable) Whether to highlight matching brackets 'highlight-syntax' (boolean : default true : readable / writable) Whether to highlight syntax in the buffer 'language' (Gtk2::SourceView2::Language : default undef : readable / writable) Language object to get highlighting patterns from 'max-undo-levels' (integer : default 1000 : readable / writable) Number of undo levels for the buffer 'style-scheme' (Gtk2::SourceView2::StyleScheme : default undef : readable / writable) Style scheme 'undo-manager' (Glib::Object::_Unregistered::GtkSourceUndoManager : default undef : readable / writable / construct) The buffer undo manager
SIGNALS
highlight-updated (Gtk2::SourceView2::Buffer, Gtk2::TextIter, Gtk2::TextIter) redo (Gtk2::SourceView2::Buffer) source-mark-updated (Gtk2::SourceView2::Buffer, Gtk2::TextMark) undo (Gtk2::SourceView2::Buffer)
SEE ALSO
Gtk2::SourceView2, Glib::Object, Gtk2::TextBuffer
COPYRIGHT
Copyright (C) 2009 by Emmanuel Rodriguez