Rechercher une page de manuel
Gtk2::SourceView::Buffer.3pm
Langue: en
Version: 2008-01-16 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::SourceView::BufferHIERARCHY
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
$buffer->begin_not_undoable_action
$source_buffer->set_bracket_match_style ($style)
$source_buffer->set_bracket_match_style ($style)
-
- •
- $style (Gtk2::SourceView::TagStyle)
boolean = $buffer->can_redo
boolean = $buffer->can_redo
boolean = $buffer->can_undo
boolean = $buffer->can_undo
boolean = $buffer->get_check_brackets
boolean = $buffer->get_check_brackets
$buffer->set_check_brackets ($check_brackets)
$buffer->set_check_brackets ($check_brackets)
-
- •
- $check_brackets (boolean)
GtkSourceMarker = $buffer->create_marker ($name, $type, $where)
GtkSourceMarker = $buffer->create_marker ($name, $type, $where)
-
- •
- $name (string or undef)
- •
- $type (string or undef)
- •
- $where (Gtk2::TextIter)
$buffer->delete_marker ($marker)
$buffer->delete_marker ($marker)
-
- •
- $marker (GtkSourceMarker)
$buffer->end_not_undoable_action
$buffer->end_not_undoable_action
gunichar = $buffer->get_escape_char
gunichar = $buffer->get_escape_char
$buffer->set_escape_char ($escape_char)
$buffer->set_escape_char ($escape_char)
-
- •
- $escape_char (gunichar)
GtkSourceMarker or undef = $buffer->get_first_marker
GtkSourceMarker or undef = $buffer->get_first_marker
boolean = $buffer->get_highlight
boolean = $buffer->get_highlight
$buffer->set_highlight ($highlight)
$buffer->set_highlight ($highlight)
-
- •
- $highlight (boolean)
textiter = $buffer->get_iter_at_marker ($marker)
textiter = $buffer->get_iter_at_marker ($marker)
-
- •
- $marker (GtkSourceMarker)
language or undef = $buffer->get_language
language or undef = $buffer->get_language
$buffer->set_language ($language)
$buffer->set_language ($language)
-
- •
- $language (Gtk2::SourceView::Language)
GtkSourceMarker or undef = $buffer->get_last_marker
GtkSourceMarker or undef = $buffer->get_last_marker
GtkSourceMarker or undef = $buffer->get_marker ($name)
GtkSourceMarker or undef = $buffer->get_marker ($name)
-
- •
- $name (string)
list = $buffer->get_markers_in_region ($begin, $end)
list = $buffer->get_markers_in_region ($begin, $end)
-
- •
- $begin (Gtk2::TextIter)
- •
- $end (Gtk2::TextIter)
integer = $buffer->get_max_undo_levels
integer = $buffer->get_max_undo_levels
$buffer->set_max_undo_levels ($max_undo_levels)
$buffer->set_max_undo_levels ($max_undo_levels)
-
- •
- $max_undo_levels (integer)
$buffer->move_marker ($marker, $where)
$buffer->move_marker ($marker, $where)
-
- •
- $marker (GtkSourceMarker)
- •
- $where (Gtk2::TextIter)
GtkSourceMarker or undef = $buffer->get_next_marker ($iter)
GtkSourceMarker or undef = $buffer->get_next_marker ($iter)
-
- •
- $iter (Gtk2::TextIter)
GtkSourceMarker or undef = $buffer->get_prev_marker ($iter)
GtkSourceMarker or undef = $buffer->get_prev_marker ($iter)
-
- •
- $iter (Gtk2::TextIter)
$buffer->redo
$buffer->redo
$buffer->undo
$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::TextBufferCOPYRIGHT
Copyright (C) 2008 Gtk2-Perl TeamContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre