Gtk2::SourceView::Buffer man page on Pidora
[printable version]
Gtk2::SourceView::BuffUser)Contributed Perl DocumenGtk2::SourceView::Buffer(3)
NAME
Gtk2::SourceView::Buffer
HIERARCHY
Glib::Object
+----Gtk2::TextBuffer
+----Gtk2::SourceView::Buffer
METHODS
buffer = Gtk2::SourceView::Buffer->new ($table)
· $table (Gtk2::SourceView::TagTable or undef)
buffer = Gtk2::SourceView::Buffer->new_with_language ($language)
· $language (Gtk2::SourceView::Language)
$buffer->begin_not_undoable_action
$source_buffer->set_bracket_match_style ($style)
· $style (Gtk2::SourceView::TagStyle)
boolean = $buffer->can_redo
boolean = $buffer->can_undo
boolean = $buffer->get_check_brackets
$buffer->set_check_brackets ($check_brackets)
· $check_brackets (boolean)
GtkSourceMarker = $buffer->create_marker ($name, $type, $where)
· $name (string or undef)
· $type (string or undef)
· $where (Gtk2::TextIter)
$buffer->delete_marker ($marker)
· $marker (GtkSourceMarker)
$buffer->end_not_undoable_action
gunichar = $buffer->get_escape_char
$buffer->set_escape_char ($escape_char)
· $escape_char (gunichar)
GtkSourceMarker or undef = $buffer->get_first_marker
boolean = $buffer->get_highlight
$buffer->set_highlight ($highlight)
· $highlight (boolean)
textiter = $buffer->get_iter_at_marker ($marker)
· $marker (GtkSourceMarker)
language or undef = $buffer->get_language
$buffer->set_language ($language)
· $language (Gtk2::SourceView::Language)
GtkSourceMarker or undef = $buffer->get_last_marker
GtkSourceMarker or undef = $buffer->get_marker ($name)
· $name (string)
list = $buffer->get_markers_in_region ($begin, $end)
· $begin (Gtk2::TextIter)
· $end (Gtk2::TextIter)
integer = $buffer->get_max_undo_levels
$buffer->set_max_undo_levels ($max_undo_levels)
· $max_undo_levels (integer)
$buffer->move_marker ($marker, $where)
· $marker (GtkSourceMarker)
· $where (Gtk2::TextIter)
GtkSourceMarker or undef = $buffer->get_next_marker ($iter)
· $iter (Gtk2::TextIter)
GtkSourceMarker or undef = $buffer->get_prev_marker ($iter)
· $iter (Gtk2::TextIter)
$buffer->redo
$buffer->undo
PROPERTIES
'check-brackets' (boolean : readable / writable)
Whether to check and highlight matching brackets
'escape-char' (Glib::UInt : readable / writable)
Escaping character for syntax patterns
'highlight' (boolean : readable / writable)
Whether to highlight syntax in the buffer
'language' (Gtk2::SourceView::Language : readable / writable)
Language object to get highlighting patterns from
'max-undo-levels' (integer : readable / writable)
Number of undo levels for the buffer
SIGNALS
can-undo (Gtk2::SourceView::Buffer, boolean)
can-redo (Gtk2::SourceView::Buffer, boolean)
highlight-updated (Gtk2::SourceView::Buffer, Gtk2::TextIter,
Gtk2::TextIter)
marker-updated (Gtk2::SourceView::Buffer, Gtk2::TextIter)
SEE ALSO
Glib::Object, Gtk2::TextBuffer
COPYRIGHT
Copyright (C) 2011 Gtk2-Perl Team
perl v5.14.1 2011-06-21 Gtk2::SourceView::Buffer(3)
[top]
List of man pages available for Pidora
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|