man Gtk2::SourceView::Buffer () - Gtk2::SourceView::Buffer
NAME
Gtk2::SourceView::Buffer
HIERARCHY
Glib::Object +----Gtk2::TextBuffer +----Gtk2::SourceView::Buffer
METHODS
buffer = Gtk2::SourceView::Buffer->new ($table)
buffer = Gtk2::SourceView::Buffer->new_with_language ($language)
$buffer->begin_not_undoable_action
$source_buffer->set_bracket_match_style ($style)
$buffer->set_check_brackets ($check_brackets)
$buffer->delete_marker ($marker)
$buffer->end_not_undoable_action
$buffer->set_escape_char ($escape_char)
$buffer->set_highlight ($highlight)
$buffer->set_language ($language)
$buffer->set_max_undo_levels ($max_undo_levels)
$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) 2006 Gtk2-Perl Team