.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::SourceView2::Buffer 3pm" .TH Gtk2::SourceView2::Buffer 3pm "2018-11-02" "perl v5.28.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Gtk2::SourceView2::Buffer .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 3 \& Glib::Object \& +\-\-\-\-Gtk2::TextBuffer \& +\-\-\-\-Gtk2::SourceView2::Buffer .Ve .SH "METHODS" .IX Header "METHODS" .SS "buffer = Gtk2::SourceView2::Buffer\->\fBnew\fP ($table)" .IX Subsection "buffer = Gtk2::SourceView2::Buffer->new ($table)" .IP "\(bu" 4 \&\f(CW$table\fR (Gtk2::TextTagTable or undef) .SS "buffer = Gtk2::SourceView2::Buffer\->\fBnew_with_language\fP ($language)" .IX Subsection "buffer = Gtk2::SourceView2::Buffer->new_with_language ($language)" .IP "\(bu" 4 \&\f(CW$language\fR (Gtk2::SourceView2::Language) .ie n .SS "boolean = $buffer\->\fBbackward_iter_to_source_mark\fP ($iter, $category)" .el .SS "boolean = \f(CW$buffer\fP\->\fBbackward_iter_to_source_mark\fP ($iter, \f(CW$category\fP)" .IX Subsection "boolean = $buffer->backward_iter_to_source_mark ($iter, $category)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .IP "\(bu" 4 \&\f(CW$category\fR (string or undef) .ie n .SS "$buffer\->\fBbegin_not_undoable_action\fP" .el .SS "\f(CW$buffer\fP\->\fBbegin_not_undoable_action\fP" .IX Subsection "$buffer->begin_not_undoable_action" .ie n .SS "boolean = $buffer\->\fBcan_redo\fP" .el .SS "boolean = \f(CW$buffer\fP\->\fBcan_redo\fP" .IX Subsection "boolean = $buffer->can_redo" .ie n .SS "boolean = $buffer\->\fBcan_undo\fP" .el .SS "boolean = \f(CW$buffer\fP\->\fBcan_undo\fP" .IX Subsection "boolean = $buffer->can_undo" .ie n .SS "mark = $buffer\->\fBcreate_source_mark\fP ($name, $category, $where)" .el .SS "mark = \f(CW$buffer\fP\->\fBcreate_source_mark\fP ($name, \f(CW$category\fP, \f(CW$where\fP)" .IX Subsection "mark = $buffer->create_source_mark ($name, $category, $where)" .IP "\(bu" 4 \&\f(CW$name\fR (string or undef) .IP "\(bu" 4 \&\f(CW$category\fR (string) .IP "\(bu" 4 \&\f(CW$where\fR (Gtk2::TextIter) .ie n .SS "$buffer\->\fBend_not_undoable_action\fP" .el .SS "\f(CW$buffer\fP\->\fBend_not_undoable_action\fP" .IX Subsection "$buffer->end_not_undoable_action" .ie n .SS "$buffer\->\fBensure_highlight\fP ($start, $end)" .el .SS "\f(CW$buffer\fP\->\fBensure_highlight\fP ($start, \f(CW$end\fP)" .IX Subsection "$buffer->ensure_highlight ($start, $end)" .IP "\(bu" 4 \&\f(CW$start\fR (Gtk2::TextIter) .IP "\(bu" 4 \&\f(CW$end\fR (Gtk2::TextIter) .ie n .SS "boolean = $buffer\->\fBforward_iter_to_source_mark\fP ($iter, $category)" .el .SS "boolean = \f(CW$buffer\fP\->\fBforward_iter_to_source_mark\fP ($iter, \f(CW$category\fP)" .IX Subsection "boolean = $buffer->forward_iter_to_source_mark ($iter, $category)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .IP "\(bu" 4 \&\f(CW$category\fR (string or undef) .ie n .SS "boolean = $buffer\->\fBget_highlight_matching_brackets\fP" .el .SS "boolean = \f(CW$buffer\fP\->\fBget_highlight_matching_brackets\fP" .IX Subsection "boolean = $buffer->get_highlight_matching_brackets" .ie n .SS "$buffer\->\fBset_highlight_matching_brackets\fP ($highlight)" .el .SS "\f(CW$buffer\fP\->\fBset_highlight_matching_brackets\fP ($highlight)" .IX Subsection "$buffer->set_highlight_matching_brackets ($highlight)" .IP "\(bu" 4 \&\f(CW$highlight\fR (boolean) .ie n .SS "boolean = $buffer\->\fBget_highlight_syntax\fP" .el .SS "boolean = \f(CW$buffer\fP\->\fBget_highlight_syntax\fP" .IX Subsection "boolean = $buffer->get_highlight_syntax" .ie n .SS "$buffer\->\fBset_highlight_syntax\fP ($highlight)" .el .SS "\f(CW$buffer\fP\->\fBset_highlight_syntax\fP ($highlight)" .IX Subsection "$buffer->set_highlight_syntax ($highlight)" .IP "\(bu" 4 \&\f(CW$highlight\fR (boolean) .ie n .SS "language or undef = $buffer\->\fBget_language\fP" .el .SS "language or undef = \f(CW$buffer\fP\->\fBget_language\fP" .IX Subsection "language or undef = $buffer->get_language" .ie n .SS "$buffer\->\fBset_language\fP ($language)" .el .SS "\f(CW$buffer\fP\->\fBset_language\fP ($language)" .IX Subsection "$buffer->set_language ($language)" .IP "\(bu" 4 \&\f(CW$language\fR (Gtk2::SourceView2::Language or undef) .ie n .SS "integer = $buffer\->\fBget_max_undo_levels\fP" .el .SS "integer = \f(CW$buffer\fP\->\fBget_max_undo_levels\fP" .IX Subsection "integer = $buffer->get_max_undo_levels" .ie n .SS "$buffer\->\fBset_max_undo_levels\fP ($max_undo_levels)" .el .SS "\f(CW$buffer\fP\->\fBset_max_undo_levels\fP ($max_undo_levels)" .IX Subsection "$buffer->set_max_undo_levels ($max_undo_levels)" .IP "\(bu" 4 \&\f(CW$max_undo_levels\fR (integer) .ie n .SS "$buffer\->\fBredo\fP" .el .SS "\f(CW$buffer\fP\->\fBredo\fP" .IX Subsection "$buffer->redo" .ie n .SS "$buffer\->\fBremove_source_marks\fP ($start, $end, $category)" .el .SS "\f(CW$buffer\fP\->\fBremove_source_marks\fP ($start, \f(CW$end\fP, \f(CW$category\fP)" .IX Subsection "$buffer->remove_source_marks ($start, $end, $category)" .IP "\(bu" 4 \&\f(CW$start\fR (Gtk2::TextIter) .IP "\(bu" 4 \&\f(CW$end\fR (Gtk2::TextIter) .IP "\(bu" 4 \&\f(CW$category\fR (string or undef) .ie n .SS "$buffer\->\fBget_source_marks_at_iter\fP ($iter, $category)" .el .SS "\f(CW$buffer\fP\->\fBget_source_marks_at_iter\fP ($iter, \f(CW$category\fP)" .IX Subsection "$buffer->get_source_marks_at_iter ($iter, $category)" .IP "\(bu" 4 \&\f(CW$iter\fR (Gtk2::TextIter) .IP "\(bu" 4 \&\f(CW$category\fR (string or undef) .ie n .SS "$buffer\->\fBget_source_marks_at_line\fP ($line, $category)" .el .SS "\f(CW$buffer\fP\->\fBget_source_marks_at_line\fP ($line, \f(CW$category\fP)" .IX Subsection "$buffer->get_source_marks_at_line ($line, $category)" .IP "\(bu" 4 \&\f(CW$line\fR (integer) .IP "\(bu" 4 \&\f(CW$category\fR (string or undef) .ie n .SS "stylescheme or undef = $buffer\->\fBget_style_scheme\fP" .el .SS "stylescheme or undef = \f(CW$buffer\fP\->\fBget_style_scheme\fP" .IX Subsection "stylescheme or undef = $buffer->get_style_scheme" .ie n .SS "$buffer\->\fBset_style_scheme\fP ($scheme)" .el .SS "\f(CW$buffer\fP\->\fBset_style_scheme\fP ($scheme)" .IX Subsection "$buffer->set_style_scheme ($scheme)" .IP "\(bu" 4 \&\f(CW$scheme\fR (Gtk2::SourceView2::StyleScheme) .ie n .SS "$buffer\->\fBundo\fP" .el .SS "\f(CW$buffer\fP\->\fBundo\fP" .IX Subsection "$buffer->undo" .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'can\-redo' (boolean : default false : readable)" 4 .IX Item "'can-redo' (boolean : default false : readable)" Whether Redo operation is possible .IP "'can\-undo' (boolean : default false : readable)" 4 .IX Item "'can-undo' (boolean : default false : readable)" Whether Undo operation is possible .IP "'highlight\-matching\-brackets' (boolean : default true : readable / writable)" 4 .IX Item "'highlight-matching-brackets' (boolean : default true : readable / writable)" Whether to highlight matching brackets .IP "'highlight\-syntax' (boolean : default true : readable / writable)" 4 .IX Item "'highlight-syntax' (boolean : default true : readable / writable)" Whether to highlight syntax in the buffer .IP "'language' (Gtk2::SourceView2::Language : default undef : readable / writable)" 4 .IX Item "'language' (Gtk2::SourceView2::Language : default undef : readable / writable)" Language object to get highlighting patterns from .IP "'max\-undo\-levels' (integer : default 1000 : readable / writable)" 4 .IX Item "'max-undo-levels' (integer : default 1000 : readable / writable)" Number of undo levels for the buffer .IP "'style\-scheme' (Gtk2::SourceView2::StyleScheme : default undef : readable / writable)" 4 .IX Item "'style-scheme' (Gtk2::SourceView2::StyleScheme : default undef : readable / writable)" Style scheme .IP "'undo\-manager' (Glib::Object::_Unregistered::GtkSourceUndoManager : default undef : readable / writable / construct)" 4 .IX Item "'undo-manager' (Glib::Object::_Unregistered::GtkSourceUndoManager : default undef : readable / writable / construct)" The buffer undo manager .SH "SIGNALS" .IX Header "SIGNALS" .IP "\fBhighlight-updated\fR (Gtk2::SourceView2::Buffer, Gtk2::TextIter, Gtk2::TextIter)" 4 .IX Item "highlight-updated (Gtk2::SourceView2::Buffer, Gtk2::TextIter, Gtk2::TextIter)" .PD 0 .IP "\fBredo\fR (Gtk2::SourceView2::Buffer)" 4 .IX Item "redo (Gtk2::SourceView2::Buffer)" .IP "\fBsource-mark-updated\fR (Gtk2::SourceView2::Buffer, Gtk2::TextMark)" 4 .IX Item "source-mark-updated (Gtk2::SourceView2::Buffer, Gtk2::TextMark)" .IP "\fBundo\fR (Gtk2::SourceView2::Buffer)" 4 .IX Item "undo (Gtk2::SourceView2::Buffer)" .PD .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2::SourceView2, Glib::Object, Gtk2::TextBuffer .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2009 by Emmanuel Rodriguez