Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 162111bba1ea45503ad6cbf580b26a3b > files > 43

libgtksourceviewmm-devel-0.3.1-6.fc13.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libgtksourceviewmm: gtksourceview::SourceBuffer Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="annotated.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="namespacegtksourceview.html">gtksourceview</a>::<a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a></div>
<h1>gtksourceview::SourceBuffer Class Reference</h1><!-- doxytag: class="gtksourceview::SourceBuffer" -->The model for <a class="el" href="classgtksourceview_1_1SourceView.html">SourceView</a> widgets.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="sourcebuffer_8h-source.html">sourcebuffer.h</a>&gt;</code>
<p>
<a href="classgtksourceview_1_1SourceBuffer-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#ccb888cd32f59a4dabc3a059cbb64b90">CppObjectType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef SourceBuffer_Class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#38fd9cc99062306c45bb9e509fcdbce7">CppClassType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#ef09668218359498291cdc0fb44b6fc5">BaseObjectType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="sourcebuffer_8h.html#f5b8aa432c2024d280f549638eaf988b">GtkSourceBufferClass</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#0954273408e6a0ceadac01694ac6263f">BaseClassType</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#0a28727952d70cac4396642dfc94680c">~SourceBuffer</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#57cf0e94692c3c8f6c98f942bc769c5a">gobj</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#57cf0e94692c3c8f6c98f942bc769c5a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#ad91aebbbaf9f1c43f81fb30b232a4ad">gobj</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#ad91aebbbaf9f1c43f81fb30b232a4ad"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#d43dcb0aa43cb8e238618803b75d4648">gobj_copy</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.  <a href="#d43dcb0aa43cb8e238618803b75d4648"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#d2aca1a18b79875c5935f767dfe82f33">get_check_brackets</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines whether bracket match highlighting is activated for the source buffer.  <a href="#d2aca1a18b79875c5935f767dfe82f33"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#7e7e2d034daf1d301473f1b2b9fd79df">set_check_brackets</a> (bool check_brackets=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">controls the bracket match highlighting function in the buffer.  <a href="#7e7e2d034daf1d301473f1b2b9fd79df"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#902c1edf32eb477e67fff29ed14a4045">set_bracket_match_style</a> (const <a class="el" href="classgtksourceview_1_1SourceTagStyle.html">SourceTagStyle</a> &amp;style)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the style used for highlighting matching brackets.  <a href="#902c1edf32eb477e67fff29ed14a4045"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#2ebc08bbe14d6115d36bba199057696f">get_highlight</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines whether text highlighting is activated in the source buffer.  <a href="#2ebc08bbe14d6115d36bba199057696f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#c858783288686d37b20bba4eae8274a4">set_highlight</a> (bool highlight=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">controls whether text is highlighted in the buffer.  <a href="#c858783288686d37b20bba4eae8274a4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#cbd6bcf212584e0ec8a0d21fc25385cf">get_max_undo_levels</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines the number of undo levels the buffer will track for buffer edits.  <a href="#cbd6bcf212584e0ec8a0d21fc25385cf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#5aaef713e3eaf794e3e052686877feb6">set_max_undo_levels</a> (int max_undo_levels)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the number of undo levels for user actions the buffer will track.  <a href="#5aaef713e3eaf794e3e052686877feb6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#3ea71b3660af1a98a7176d0dce84d537">get_language</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines the GtkSourceLanguage used by the buffer.  <a href="#3ea71b3660af1a98a7176d0dce84d537"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; const <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#54309443ad99ede85f9b0746d909a3c4">get_language</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines the GtkSourceLanguage used by the buffer.  <a href="#54309443ad99ede85f9b0746d909a3c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#0fe930f76dfb6de247c89a2e2f76935f">set_language</a> (Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> &gt; language)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the GtkSourceLanguage the source buffer will use.  <a href="#0fe930f76dfb6de247c89a2e2f76935f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">gunichar&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#228748a18e2181c7b30368aca9754696">get_escape_char</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines the escaping character used by the source buffer highlighting engine.  <a href="#228748a18e2181c7b30368aca9754696"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#4e341c543bbfe42471d25ad06e72ac3d">set_escape_char</a> (gunichar escape_char)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the escape character to be used by the highlighting engine.  <a href="#4e341c543bbfe42471d25ad06e72ac3d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#1ee44b35233bc1e88e9eac39b4af9ea0">can_undo</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines whether a source buffer can undo the last action.  <a href="#1ee44b35233bc1e88e9eac39b4af9ea0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#a088a8b4fd81482f9dbc42984da854bb">can_redo</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines whether a source buffer can redo the last action.  <a href="#a088a8b4fd81482f9dbc42984da854bb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#5c75f5ef24292ee9c9668def6ea4a15d">undo</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Undoes the last user action which modified the buffer.  <a href="#5c75f5ef24292ee9c9668def6ea4a15d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#eb2beebaa3e1cb0a912ee798b2968aea">redo</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">redoes the last undo operation.  <a href="#eb2beebaa3e1cb0a912ee798b2968aea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#c195ba6702afd8cb13406a73836f9407">begin_not_undoable_action</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Marks the beginning of a not undoable action on the buffer, disabling the undo manager.  <a href="#c195ba6702afd8cb13406a73836f9407"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#e6ab638719fa22554f7ec3a3f98dfcdf">end_not_undoable_action</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Marks the end of a not undoable action on the buffer.  <a href="#e6ab638719fa22554f7ec3a3f98dfcdf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#740b57b40031ce41943cacbcc9df3935">create_marker</a> (const Glib::ustring &amp;name, const Glib::ustring &amp;type, const Gtk::TextIter &amp;where)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a marker in the buffer of type type.  <a href="#740b57b40031ce41943cacbcc9df3935"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#5b1692a812351a7ffe65b35fbd72e93a">move_marker</a> (Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt; &amp;marker, const Gtk::TextIter &amp;where)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Moves marker to the a new location.  <a href="#5b1692a812351a7ffe65b35fbd72e93a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#d61d4f5cf16e6d69c6d4326e6f149775">delete_marker</a> (Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt; &amp;marker)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes marker from the source buffer. The same conditions as for Gtk::TextMark apply here. The marker is no longer accessible from the buffer, but if you held a reference to it, it will not be destroyed.  <a href="#d61d4f5cf16e6d69c6d4326e6f149775"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#692596fe2728ce12dd9afa645f39cbc2">get_marker</a> (const Glib::ustring &amp;name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Looks up the GtkSourceMarker named name in buffer, returning NULL if it doesn't exists.  <a href="#692596fe2728ce12dd9afa645f39cbc2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#bfd35af028360a953bee9b24a10c316e">get_marker</a> (const Glib::ustring &amp;name) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Looks up the GtkSourceMarker named name in buffer, returning NULL if it doesn't exists.  <a href="#bfd35af028360a953bee9b24a10c316e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::SListHandle&lt; Glib::RefPtr&lt;<br>
 <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#6f538f599ebbfd637f1dbe9701d32751">get_markers_in_region</a> (const Gtk::TextIter &amp;begin, const Gtk::TextIter &amp;end)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get an ordered (by position) list of SourceMarker objects inside the region delimited by the GtkTextIter begin and end.  <a href="#6f538f599ebbfd637f1dbe9701d32751"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#04e78f65627e7c053d71d9805c9ce369">get_first_marker</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">get an ordered (by position) list of SourceMarker objects inside the region delimited by the GtkTextIter begin and end.gets the first (nearest to the top of the buffer) marker in buffer.  <a href="#04e78f65627e7c053d71d9805c9ce369"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#a9f7da0a3e774017f551163d4ceb9b17">get_first_marker</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">gets the first (nearest to the top of the buffer) marker in buffer.  <a href="#a9f7da0a3e774017f551163d4ceb9b17"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#afd0946c21ee3fb262807cf152003ae2">get_last_marker</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the last (nearest to the bottom of the buffer) marker in buffer.  <a href="#afd0946c21ee3fb262807cf152003ae2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#ada3d359876ffcda48e56f18eea57415">get_last_marker</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the last (nearest to the bottom of the buffer) marker in buffer.  <a href="#ada3d359876ffcda48e56f18eea57415"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Gtk::TextIter&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#e3c5cec063ef6368bc9e865433262921">get_iter_at_marker</a> (const Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt; &amp;marker)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">gets an iterator pointing at the location of a given marker.  <a href="#e3c5cec063ef6368bc9e865433262921"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#ed0bcdc79053733f38a7bd98dfe163b9">get_next_marker</a> (Gtk::TextIter &amp;iter)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">gets the nearest marker to the right of iter.  <a href="#ed0bcdc79053733f38a7bd98dfe163b9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#4f226297fe19c7f3a938f0a55ab1081d">get_next_marker</a> (Gtk::TextIter &amp;iter) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">gets the nearest marker to the right of iter.  <a href="#4f226297fe19c7f3a938f0a55ab1081d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#cb4904810eff33a3c7b692055ae3db0b">get_prev_marker</a> (Gtk::TextIter &amp;iter)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">gets the nearest marker to the left of iter.  <a href="#cb4904810eff33a3c7b692055ae3db0b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#d0fba4eb6de4ff41d0885b565f5e1d25">get_prev_marker</a> (Gtk::TextIter &amp;iter) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">gets the nearest marker to the left of iter.  <a href="#d0fba4eb6de4ff41d0885b565f5e1d25"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">signals</div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::SignalProxy1&lt; void,<br>
 bool &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#4c3e61adbc5cb4b9f976174c31eea02f">signal_can_redo</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted whenever there is a change in the buffer's ability to redo an operation.  <a href="#4c3e61adbc5cb4b9f976174c31eea02f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::SignalProxy1&lt; void,<br>
 bool &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#da6b956aac3fd831ff55dccb6831911e">signal_can_undo</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted whenever there is a change in the buffer's ability to undo an operation.  <a href="#da6b956aac3fd831ff55dccb6831911e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::SignalProxy2&lt; void,<br>
 Gtk::TextIter &amp;, Gtk::TextIter &amp; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#04a46f01eafcd93032187d8bb7a003f0">signal_highlight_updated</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted whenever the syntax highlighting information has been updated, so that views can request a redraw if the region changed is visible.  <a href="#04a46f01eafcd93032187d8bb7a003f0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::SignalProxy1&lt; void,<br>
 Gtk::TextIter &amp; &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#f898d6c1b6813c685e251ac5b3d9ccea">signal_marker_updated</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Emitted whenever a marker of sourcebuffer has changed and needs to be redisplayed by the view.  <a href="#f898d6c1b6813c685e251ac5b3d9ccea"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static GType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#8ef8e09b3b5520d15ac28206dda59736">get_type</a> () G_GNUC_CONST</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static GType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#28a59bf7bb0cfa002fc0274dd035febe">get_base_type</a> () G_GNUC_CONST</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#fd737fe741ec5953504b7083a97aa28c">create</a> (Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceTagTable.html">SourceTagTable</a> &gt; &amp;tagtable)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">create a new <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a>, from a <a class="el" href="classgtksourceview_1_1SourceTagTable.html">SourceTagTable</a>.  <a href="#fd737fe741ec5953504b7083a97aa28c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#bd70b03248ce4b3602b3f33688eafbe1">create</a> (Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> &gt; &amp;language)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#a4b0e506b8e84caf498163a33742d047">SourceBuffer</a> (const Glib::ConstructParams &amp;construct_params)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#dfb01f40192b6381c71e0577ddc9d3c1">SourceBuffer</a> (<a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a> *castitem)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#66fbd34e55f55c6706bd6e4e3417b390">SourceBuffer</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#eb3339ec2f75d0f9a534a5e275d46679">SourceBuffer</a> (Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceTagTable.html">SourceTagTable</a> &gt; &amp;tagtable)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#b0642f186605585f0368245679dcc01a">SourceBuffer</a> (Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> &gt; &amp;language)</td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#02fffa90ab27b57456b95d4d3dfdddfe">SourceBuffer_Class</a></td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceBuffer.html">gtksourceview::SourceBuffer</a> &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgtksourceview_1_1SourceBuffer.html#810b954050ef2d0eef96f8b469ed9893">wrap</a> (<a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a> *object, bool take_copy=false)</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The model for <a class="el" href="classgtksourceview_1_1SourceView.html">SourceView</a> widgets. 
<p>
It extends the TextBuffer object by adding features necessary to display and edit source code: syntax highlighting, bracket matching and markers. It also implements support for undo/redo operations. To create a <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a> use <a class="el" href="classgtksourceview_1_1SourceBuffer.html#fd737fe741ec5953504b7083a97aa28c">SourceBuffer::create()</a>. By default highlighting is enabled, but you can disable it with <a class="el" href="classgtksourceview_1_1SourceBuffer.html#c858783288686d37b20bba4eae8274a4">SourceBuffer::set_highlight()</a>. This can be useful if you're not using <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> objects to set the highlighting patterns, and instead you're manually adding <a class="el" href="classgtksourceview_1_1SourceTag.html">SourceTag</a> objects to the buffer's tag table. 
<p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="ccb888cd32f59a4dabc3a059cbb64b90"></a><!-- doxytag: member="gtksourceview::SourceBuffer::CppObjectType" ref="ccb888cd32f59a4dabc3a059cbb64b90" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a> <a class="el" href="classgtksourceview_1_1SourceBuffer.html">gtksourceview::SourceBuffer::CppObjectType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="38fd9cc99062306c45bb9e509fcdbce7"></a><!-- doxytag: member="gtksourceview::SourceBuffer::CppClassType" ref="38fd9cc99062306c45bb9e509fcdbce7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef SourceBuffer_Class <a class="el" href="classgtksourceview_1_1SourceBuffer.html#38fd9cc99062306c45bb9e509fcdbce7">gtksourceview::SourceBuffer::CppClassType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ef09668218359498291cdc0fb44b6fc5"></a><!-- doxytag: member="gtksourceview::SourceBuffer::BaseObjectType" ref="ef09668218359498291cdc0fb44b6fc5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a> <a class="el" href="classgtksourceview_1_1SourceBuffer.html#ef09668218359498291cdc0fb44b6fc5">gtksourceview::SourceBuffer::BaseObjectType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="0954273408e6a0ceadac01694ac6263f"></a><!-- doxytag: member="gtksourceview::SourceBuffer::BaseClassType" ref="0954273408e6a0ceadac01694ac6263f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="sourcebuffer_8h.html#f5b8aa432c2024d280f549638eaf988b">GtkSourceBufferClass</a> <a class="el" href="classgtksourceview_1_1SourceBuffer.html#0954273408e6a0ceadac01694ac6263f">gtksourceview::SourceBuffer::BaseClassType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a4b0e506b8e84caf498163a33742d047"></a><!-- doxytag: member="gtksourceview::SourceBuffer::SourceBuffer" ref="a4b0e506b8e84caf498163a33742d047" args="(const Glib::ConstructParams &amp;construct_params)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gtksourceview::SourceBuffer::SourceBuffer           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ConstructParams &amp;&nbsp;</td>
          <td class="paramname"> <em>construct_params</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="dfb01f40192b6381c71e0577ddc9d3c1"></a><!-- doxytag: member="gtksourceview::SourceBuffer::SourceBuffer" ref="dfb01f40192b6381c71e0577ddc9d3c1" args="(GtkSourceBuffer *castitem)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gtksourceview::SourceBuffer::SourceBuffer           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a> *&nbsp;</td>
          <td class="paramname"> <em>castitem</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="0a28727952d70cac4396642dfc94680c"></a><!-- doxytag: member="gtksourceview::SourceBuffer::~SourceBuffer" ref="0a28727952d70cac4396642dfc94680c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual gtksourceview::SourceBuffer::~SourceBuffer           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="66fbd34e55f55c6706bd6e4e3417b390"></a><!-- doxytag: member="gtksourceview::SourceBuffer::SourceBuffer" ref="66fbd34e55f55c6706bd6e4e3417b390" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gtksourceview::SourceBuffer::SourceBuffer           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="eb3339ec2f75d0f9a534a5e275d46679"></a><!-- doxytag: member="gtksourceview::SourceBuffer::SourceBuffer" ref="eb3339ec2f75d0f9a534a5e275d46679" args="(Glib::RefPtr&lt; SourceTagTable &gt; &amp;tagtable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gtksourceview::SourceBuffer::SourceBuffer           </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceTagTable.html">SourceTagTable</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>tagtable</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="b0642f186605585f0368245679dcc01a"></a><!-- doxytag: member="gtksourceview::SourceBuffer::SourceBuffer" ref="b0642f186605585f0368245679dcc01a" args="(Glib::RefPtr&lt; SourceLanguage &gt; &amp;language)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gtksourceview::SourceBuffer::SourceBuffer           </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>language</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [explicit, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="8ef8e09b3b5520d15ac28206dda59736"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_type" ref="8ef8e09b3b5520d15ac28206dda59736" args="() G_GNUC_CONST" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static GType gtksourceview::SourceBuffer::get_type           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="28a59bf7bb0cfa002fc0274dd035febe"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_base_type" ref="28a59bf7bb0cfa002fc0274dd035febe" args="() G_GNUC_CONST" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static GType gtksourceview::SourceBuffer::get_base_type           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="57cf0e94692c3c8f6c98f942bc769c5a"></a><!-- doxytag: member="gtksourceview::SourceBuffer::gobj" ref="57cf0e94692c3c8f6c98f942bc769c5a" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a>* gtksourceview::SourceBuffer::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

</div>
</div><p>
<a class="anchor" name="ad91aebbbaf9f1c43f81fb30b232a4ad"></a><!-- doxytag: member="gtksourceview::SourceBuffer::gobj" ref="ad91aebbbaf9f1c43f81fb30b232a4ad" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a>* gtksourceview::SourceBuffer::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C GObject. 
<p>

</div>
</div><p>
<a class="anchor" name="d43dcb0aa43cb8e238618803b75d4648"></a><!-- doxytag: member="gtksourceview::SourceBuffer::gobj_copy" ref="d43dcb0aa43cb8e238618803b75d4648" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a>* gtksourceview::SourceBuffer::gobj_copy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. 
<p>

</div>
</div><p>
<a class="anchor" name="fd737fe741ec5953504b7083a97aa28c"></a><!-- doxytag: member="gtksourceview::SourceBuffer::create" ref="fd737fe741ec5953504b7083a97aa28c" args="(Glib::RefPtr&lt; SourceTagTable &gt; &amp;tagtable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::RefPtr&lt;<a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a>&gt; gtksourceview::SourceBuffer::create           </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceTagTable.html">SourceTagTable</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>tagtable</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
create a new <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a>, from a <a class="el" href="classgtksourceview_1_1SourceTagTable.html">SourceTagTable</a>. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>tagtable</em>&nbsp;</td><td>a tag table to be taken in account </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a new <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="bd70b03248ce4b3602b3f33688eafbe1"></a><!-- doxytag: member="gtksourceview::SourceBuffer::create" ref="bd70b03248ce4b3602b3f33688eafbe1" args="(Glib::RefPtr&lt; SourceLanguage &gt; &amp;language)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::RefPtr&lt;<a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a>&gt; gtksourceview::SourceBuffer::create           </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>language</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
brief create a new <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>language</em>&nbsp;</td><td>the language to be considered by the <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a> for syntax highlighting. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a new <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a> </dd></dl>

</div>
</div><p>
<a class="anchor" name="d2aca1a18b79875c5935f767dfe82f33"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_check_brackets" ref="d2aca1a18b79875c5935f767dfe82f33" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gtksourceview::SourceBuffer::get_check_brackets           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines whether bracket match highlighting is activated for the source buffer. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the source buffer will highlight matching brackets, false otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="7e7e2d034daf1d301473f1b2b9fd79df"></a><!-- doxytag: member="gtksourceview::SourceBuffer::set_check_brackets" ref="7e7e2d034daf1d301473f1b2b9fd79df" args="(bool check_brackets=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::set_check_brackets           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>check_brackets</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
controls the bracket match highlighting function in the buffer. 
<p>
If activated, when you position your cursor over a bracket character (a parenthesis, a square bracket, etc.) the matching opening or closing bracket character will be highlighted. You can specify the style with the <a class="el" href="classgtksourceview_1_1SourceBuffer.html#902c1edf32eb477e67fff29ed14a4045">SourceBuffer::set_bracket_match_style()</a> function. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>check_brackets</em>&nbsp;</td><td>true if you want matching brackets highlighted. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="902c1edf32eb477e67fff29ed14a4045"></a><!-- doxytag: member="gtksourceview::SourceBuffer::set_bracket_match_style" ref="902c1edf32eb477e67fff29ed14a4045" args="(const SourceTagStyle &amp;style)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::set_bracket_match_style           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgtksourceview_1_1SourceTagStyle.html">SourceTagStyle</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>style</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the style used for highlighting matching brackets. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>style</em>&nbsp;</td><td>the <a class="el" href="classgtksourceview_1_1SourceTagStyle.html">SourceTagStyle</a> specifying colors and text attributes </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="2ebc08bbe14d6115d36bba199057696f"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_highlight" ref="2ebc08bbe14d6115d36bba199057696f" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gtksourceview::SourceBuffer::get_highlight           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines whether text highlighting is activated in the source buffer. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if highlighting is activated, false otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="c858783288686d37b20bba4eae8274a4"></a><!-- doxytag: member="gtksourceview::SourceBuffer::set_highlight" ref="c858783288686d37b20bba4eae8274a4" args="(bool highlight=true)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::set_highlight           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>highlight</em> = <code>true</code>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
controls whether text is highlighted in the buffer. 
<p>
If highlight is TRUE, the text will be highlighted according to the patterns installed in the buffer (either set with <a class="el" href="classgtksourceview_1_1SourceBuffer.html#0fe930f76dfb6de247c89a2e2f76935f">SourceBuffer::set_language()</a> or by adding individual GtkSourceTag tags to the buffer's tag table). Otherwise, any current highlighted text will be restored to the default buffer style. Tags not of <a class="el" href="classgtksourceview_1_1SourceTag.html">SourceTag</a> type will not be removed by this option, and normal Gtk::TextTag priority settings apply when highlighting is enabled. If not using a <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> for setting the highlighting patterns in the buffer, it is recommended for performance reasons that you add all the <a class="el" href="classgtksourceview_1_1SourceTag.html">SourceTag</a> tags with highlighting disabled and enable it when finished. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>highlight</em>&nbsp;</td><td>true if you want to activate highlighting </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="cbd6bcf212584e0ec8a0d21fc25385cf"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_max_undo_levels" ref="cbd6bcf212584e0ec8a0d21fc25385cf" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int gtksourceview::SourceBuffer::get_max_undo_levels           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines the number of undo levels the buffer will track for buffer edits. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the maximum number of possible undo levels. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5aaef713e3eaf794e3e052686877feb6"></a><!-- doxytag: member="gtksourceview::SourceBuffer::set_max_undo_levels" ref="5aaef713e3eaf794e3e052686877feb6" args="(int max_undo_levels)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::set_max_undo_levels           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>max_undo_levels</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the number of undo levels for user actions the buffer will track. 
<p>
If the number of user actions exceeds the limit set by this function, older actions will be discarded. A new action is started whenever the function Gtk::TextBuffer::begin_user_action() is called. In general, this happens whenever the user presses any key which modifies the buffer, but the undo manager will try to merge similar consecutive actions, such as multiple character insertions into one action. But, inserting a newline does start a new action. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>max_undo_levels</em>&nbsp;</td><td>the desired maximum number of undo levels. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="3ea71b3660af1a98a7176d0dce84d537"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_language" ref="3ea71b3660af1a98a7176d0dce84d537" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a>&gt; gtksourceview::SourceBuffer::get_language           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines the GtkSourceLanguage used by the buffer. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> set by <a class="el" href="classgtksourceview_1_1SourceBuffer.html#0fe930f76dfb6de247c89a2e2f76935f">SourceBuffer::set_language()</a>, or nil. </dd></dl>

</div>
</div><p>
<a class="anchor" name="54309443ad99ede85f9b0746d909a3c4"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_language" ref="54309443ad99ede85f9b0746d909a3c4" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;const <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a>&gt; gtksourceview::SourceBuffer::get_language           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines the GtkSourceLanguage used by the buffer. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> set by <a class="el" href="classgtksourceview_1_1SourceBuffer.html#0fe930f76dfb6de247c89a2e2f76935f">SourceBuffer::set_language()</a>, or nil. </dd></dl>

</div>
</div><p>
<a class="anchor" name="0fe930f76dfb6de247c89a2e2f76935f"></a><!-- doxytag: member="gtksourceview::SourceBuffer::set_language" ref="0fe930f76dfb6de247c89a2e2f76935f" args="(Glib::RefPtr&lt; SourceLanguage &gt; language)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::set_language           </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceLanguage.html">SourceLanguage</a> &gt;&nbsp;</td>
          <td class="paramname"> <em>language</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the GtkSourceLanguage the source buffer will use. 
<p>
This adds GtkSourceTag tags with the language's patterns and sets the escape character with <a class="el" href="classgtksourceview_1_1SourceBuffer.html#4e341c543bbfe42471d25ad06e72ac3d">SourceBuffer::set_escape_char()</a>. Note that this will remove any <a class="el" href="classgtksourceview_1_1SourceTag.html">SourceTag</a> tags currently in the buffer's tag table. The buffer holds a reference to the language set. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>language</em>&nbsp;</td><td>a GtkSourceLanguage to set. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="228748a18e2181c7b30368aca9754696"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_escape_char" ref="228748a18e2181c7b30368aca9754696" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">gunichar gtksourceview::SourceBuffer::get_escape_char           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines the escaping character used by the source buffer highlighting engine. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the UTF-8 character for the escape character the buffer is using. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4e341c543bbfe42471d25ad06e72ac3d"></a><!-- doxytag: member="gtksourceview::SourceBuffer::set_escape_char" ref="4e341c543bbfe42471d25ad06e72ac3d" args="(gunichar escape_char)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::set_escape_char           </td>
          <td>(</td>
          <td class="paramtype">gunichar&nbsp;</td>
          <td class="paramname"> <em>escape_char</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the escape character to be used by the highlighting engine. 
<p>
When performing the initial analysis, the engine will discard a matching syntax pattern if it's prefixed with an odd number of escape characters. This allows for example to correctly highlight strings with escaped quotes embedded. This setting affects only syntax patterns (i.e. those defined in GtkSyntaxTag tags). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>escape_char</em>&nbsp;</td><td>the escape character the buffer should use. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="1ee44b35233bc1e88e9eac39b4af9ea0"></a><!-- doxytag: member="gtksourceview::SourceBuffer::can_undo" ref="1ee44b35233bc1e88e9eac39b4af9ea0" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gtksourceview::SourceBuffer::can_undo           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines whether a source buffer can undo the last action. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if it's possible to undo the last action, false otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="a088a8b4fd81482f9dbc42984da854bb"></a><!-- doxytag: member="gtksourceview::SourceBuffer::can_redo" ref="a088a8b4fd81482f9dbc42984da854bb" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool gtksourceview::SourceBuffer::can_redo           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines whether a source buffer can redo the last action. 
<p>
I.E if the last operation was an undo. <dl class="return" compact><dt><b>Returns:</b></dt><dd>true if it's possible to redo the last action, false otherwise. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5c75f5ef24292ee9c9668def6ea4a15d"></a><!-- doxytag: member="gtksourceview::SourceBuffer::undo" ref="5c75f5ef24292ee9c9668def6ea4a15d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::undo           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Undoes the last user action which modified the buffer. 
<p>
Use <a class="el" href="classgtksourceview_1_1SourceBuffer.html#1ee44b35233bc1e88e9eac39b4af9ea0">SourceBuffer::can_undo()</a> to check whether a call to this function will have any effect. Actions are defined as groups of operations between a call to TextBuffer::begin_user_action() and TextBuffer::end_user_action(), or sequences of similar edits (inserts or deletes) on the same line. 
</div>
</div><p>
<a class="anchor" name="eb2beebaa3e1cb0a912ee798b2968aea"></a><!-- doxytag: member="gtksourceview::SourceBuffer::redo" ref="eb2beebaa3e1cb0a912ee798b2968aea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::redo           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
redoes the last undo operation. 
<p>
Use <a class="el" href="classgtksourceview_1_1SourceBuffer.html#a088a8b4fd81482f9dbc42984da854bb">SourceBuffer::can_redo()</a> to check whether a call to this function will have any effect. 
</div>
</div><p>
<a class="anchor" name="c195ba6702afd8cb13406a73836f9407"></a><!-- doxytag: member="gtksourceview::SourceBuffer::begin_not_undoable_action" ref="c195ba6702afd8cb13406a73836f9407" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::begin_not_undoable_action           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Marks the beginning of a not undoable action on the buffer, disabling the undo manager. 
<p>
Typically you would call this function before initially setting the contents of the buffer (e.g. when loading a file in a text editor). You may nest <a class="el" href="classgtksourceview_1_1SourceBuffer.html#c195ba6702afd8cb13406a73836f9407">SourceBuffer::begin_not_undoable_action()</a> / <a class="el" href="classgtksourceview_1_1SourceBuffer.html#e6ab638719fa22554f7ec3a3f98dfcdf">SourceBuffer::end_not_undoable_action()</a> blocks. 
</div>
</div><p>
<a class="anchor" name="e6ab638719fa22554f7ec3a3f98dfcdf"></a><!-- doxytag: member="gtksourceview::SourceBuffer::end_not_undoable_action" ref="e6ab638719fa22554f7ec3a3f98dfcdf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::end_not_undoable_action           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Marks the end of a not undoable action on the buffer. 
<p>
When the last not undoable block is closed through the call to this function, the list of undo actions is cleared and the undo manager is re-enabled. 
</div>
</div><p>
<a class="anchor" name="740b57b40031ce41943cacbcc9df3935"></a><!-- doxytag: member="gtksourceview::SourceBuffer::create_marker" ref="740b57b40031ce41943cacbcc9df3935" args="(const Glib::ustring &amp;name, const Glib::ustring &amp;type, const Gtk::TextIter &amp;where)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::create_marker           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Gtk::TextIter &amp;&nbsp;</td>
          <td class="paramname"> <em>where</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a marker in the buffer of type type. 
<p>
A marker is semantically very similar to a GtkTextMark, except it has a type which is used by the <a class="el" href="classgtksourceview_1_1SourceView.html">SourceView</a> displaying the buffer to show a pixmap on the left margin, at the line the marker is in. Because of this, a marker is generally associated to a line and not a character position. Markers are also accessible through a position or range in the buffer. Markers are implemented using Gtk::TextMark, so all characteristics and restrictions to marks apply to markers too. These includes life cycle issues and "mark-set" and "mark-deleted" signal emissions. Like a Gtk::TextMark, a SourceMarker can be anonymous if the passed name is "". Also, the buffer owns the markers so you shouldn't unreference it. Markers always have left gravity and are moved to the beginning of the line when the user deletes the line they were in. Also, if the user deletes a region of text which contained lines with markers, those are deleted. Typical uses for a marker are bookmarks, breakpoints, current executing instruction indication in a source file, etc.. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>the name of the marker. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>a string defining the marker type. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>where</em>&nbsp;</td><td>location to place the marker </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a newly created SourceMarker, owned by the buffer. </dd></dl>

</div>
</div><p>
<a class="anchor" name="5b1692a812351a7ffe65b35fbd72e93a"></a><!-- doxytag: member="gtksourceview::SourceBuffer::move_marker" ref="5b1692a812351a7ffe65b35fbd72e93a" args="(Glib::RefPtr&lt; SourceMarker &gt; &amp;marker, const Gtk::TextIter &amp;where)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::move_marker           </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>marker</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Gtk::TextIter &amp;&nbsp;</td>
          <td class="paramname"> <em>where</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Moves marker to the a new location. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>marker</em>&nbsp;</td><td>the marker you want to move in the <a class="el" href="classgtksourceview_1_1SourceBuffer.html">SourceBuffer</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>where</em>&nbsp;</td><td>the new location you want to move the marker to. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="d61d4f5cf16e6d69c6d4326e6f149775"></a><!-- doxytag: member="gtksourceview::SourceBuffer::delete_marker" ref="d61d4f5cf16e6d69c6d4326e6f149775" args="(Glib::RefPtr&lt; SourceMarker &gt; &amp;marker)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gtksourceview::SourceBuffer::delete_marker           </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>marker</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Deletes marker from the source buffer. The same conditions as for Gtk::TextMark apply here. The marker is no longer accessible from the buffer, but if you held a reference to it, it will not be destroyed. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>marker</em>&nbsp;</td><td>the marker to delete. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="692596fe2728ce12dd9afa645f39cbc2"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_marker" ref="692596fe2728ce12dd9afa645f39cbc2" args="(const Glib::ustring &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_marker           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Looks up the GtkSourceMarker named name in buffer, returning NULL if it doesn't exists. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the SourceMarker whose name is name, or nil. </dd></dl>

</div>
</div><p>
<a class="anchor" name="bfd35af028360a953bee9b24a10c316e"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_marker" ref="bfd35af028360a953bee9b24a10c316e" args="(const Glib::ustring &amp;name) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_marker           </td>
          <td>(</td>
          <td class="paramtype">const Glib::ustring &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Looks up the GtkSourceMarker named name in buffer, returning NULL if it doesn't exists. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the SourceMarker whose name is name, or nil. </dd></dl>

</div>
</div><p>
<a class="anchor" name="6f538f599ebbfd637f1dbe9701d32751"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_markers_in_region" ref="6f538f599ebbfd637f1dbe9701d32751" args="(const Gtk::TextIter &amp;begin, const Gtk::TextIter &amp;end)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::SListHandle&lt;Glib::RefPtr&lt;<a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; &gt; gtksourceview::SourceBuffer::get_markers_in_region           </td>
          <td>(</td>
          <td class="paramtype">const Gtk::TextIter &amp;&nbsp;</td>
          <td class="paramname"> <em>begin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Gtk::TextIter &amp;&nbsp;</td>
          <td class="paramname"> <em>end</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get an ordered (by position) list of SourceMarker objects inside the region delimited by the GtkTextIter begin and end. 
<p>
The iters may be in any order. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the list of SourceMarkers </dd></dl>

</div>
</div><p>
<a class="anchor" name="04e78f65627e7c053d71d9805c9ce369"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_first_marker" ref="04e78f65627e7c053d71d9805c9ce369" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_first_marker           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get an ordered (by position) list of SourceMarker objects inside the region delimited by the GtkTextIter begin and end.gets the first (nearest to the top of the buffer) marker in buffer. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the first marker in buffer </dd></dl>

</div>
</div><p>
<a class="anchor" name="a9f7da0a3e774017f551163d4ceb9b17"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_first_marker" ref="a9f7da0a3e774017f551163d4ceb9b17" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_first_marker           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
gets the first (nearest to the top of the buffer) marker in buffer. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the first marker in buffer or nil if there are no markers in the buffer. </dd></dl>

</div>
</div><p>
<a class="anchor" name="afd0946c21ee3fb262807cf152003ae2"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_last_marker" ref="afd0946c21ee3fb262807cf152003ae2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_last_marker           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns the last (nearest to the bottom of the buffer) marker in buffer. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a reference to the last SourceMarker, or nil if there are no markers in the buffer. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ada3d359876ffcda48e56f18eea57415"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_last_marker" ref="ada3d359876ffcda48e56f18eea57415" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_last_marker           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
returns the last (nearest to the bottom of the buffer) marker in buffer. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a reference to the last SourceMarker, or nil if there are no markers in the buffer. </dd></dl>

</div>
</div><p>
<a class="anchor" name="e3c5cec063ef6368bc9e865433262921"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_iter_at_marker" ref="e3c5cec063ef6368bc9e865433262921" args="(const Glib::RefPtr&lt; SourceMarker &gt; &amp;marker)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Gtk::TextIter gtksourceview::SourceBuffer::get_iter_at_marker           </td>
          <td>(</td>
          <td class="paramtype">const Glib::RefPtr&lt; <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a> &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>marker</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
gets an iterator pointing at the location of a given marker. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>marker</em>&nbsp;</td><td>the marker we want to get the iterator at. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the iterator. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ed0bcdc79053733f38a7bd98dfe163b9"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_next_marker" ref="ed0bcdc79053733f38a7bd98dfe163b9" args="(Gtk::TextIter &amp;iter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_next_marker           </td>
          <td>(</td>
          <td class="paramtype">Gtk::TextIter &amp;&nbsp;</td>
          <td class="paramname"> <em>iter</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
gets the nearest marker to the right of iter. 
<p>
If there are multiple markers at the same position, this function will always return the first one (from the internal linked list), even if starting the search exactly at its location. You can get the others using SourceMarker::next(). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iter</em>&nbsp;</td><td>an iterator pointing to the location to start searching from. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the SourceMarker nearest to the right of iter, or nil if there are no more markers after iter. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4f226297fe19c7f3a938f0a55ab1081d"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_next_marker" ref="4f226297fe19c7f3a938f0a55ab1081d" args="(Gtk::TextIter &amp;iter) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_next_marker           </td>
          <td>(</td>
          <td class="paramtype">Gtk::TextIter &amp;&nbsp;</td>
          <td class="paramname"> <em>iter</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
gets the nearest marker to the right of iter. 
<p>
If there are multiple markers at the same position, this function will always return the first one (from the internal linked list), even if starting the search exactly at its location. You can get the others using SourceMarker::next(). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iter</em>&nbsp;</td><td>an iterator pointing to the location to start searching from. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the SourceMarker nearest to the right of iter, or nil if there are no more markers after iter. </dd></dl>

</div>
</div><p>
<a class="anchor" name="cb4904810eff33a3c7b692055ae3db0b"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_prev_marker" ref="cb4904810eff33a3c7b692055ae3db0b" args="(Gtk::TextIter &amp;iter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_prev_marker           </td>
          <td>(</td>
          <td class="paramtype">Gtk::TextIter &amp;&nbsp;</td>
          <td class="paramname"> <em>iter</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
gets the nearest marker to the left of iter. 
<p>
If there are multiple markers at the same position, this function will always return the last one (from the internal linked list), even if starting the search exactly at its location. You can get the others using SourceMarker::prev(). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iter</em>&nbsp;</td><td>an iterator pointing to the location to start searching from. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the SourceMarker nearest to the right of iter, or nil if there are no more markers before iter. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d0fba4eb6de4ff41d0885b565f5e1d25"></a><!-- doxytag: member="gtksourceview::SourceBuffer::get_prev_marker" ref="d0fba4eb6de4ff41d0885b565f5e1d25" args="(Gtk::TextIter &amp;iter) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;const <a class="el" href="namespacegtksourceview.html#ecfdbb6f873aa943a6e262de4134b2e0">SourceMarker</a>&gt; gtksourceview::SourceBuffer::get_prev_marker           </td>
          <td>(</td>
          <td class="paramtype">Gtk::TextIter &amp;&nbsp;</td>
          <td class="paramname"> <em>iter</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
gets the nearest marker to the left of iter. 
<p>
If there are multiple markers at the same position, this function will always return the last one (from the internal linked list), even if starting the search exactly at its location. You can get the others using SourceMarker::prev(). <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>iter</em>&nbsp;</td><td>an iterator pointing to the location to start searching from. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the SourceMarker nearest to the right of iter, or nil if there are no more markers before iter. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4c3e61adbc5cb4b9f976174c31eea02f"></a><!-- doxytag: member="gtksourceview::SourceBuffer::signal_can_redo" ref="4c3e61adbc5cb4b9f976174c31eea02f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::SignalProxy1&lt; void,bool &gt; gtksourceview::SourceBuffer::signal_can_redo           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted whenever there is a change in the buffer's ability to redo an operation. 
<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void can_redo(bool can_redo)</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="da6b956aac3fd831ff55dccb6831911e"></a><!-- doxytag: member="gtksourceview::SourceBuffer::signal_can_undo" ref="da6b956aac3fd831ff55dccb6831911e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::SignalProxy1&lt; void,bool &gt; gtksourceview::SourceBuffer::signal_can_undo           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted whenever there is a change in the buffer's ability to undo an operation. 
<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void can_undo(bool can_redo)</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="04a46f01eafcd93032187d8bb7a003f0"></a><!-- doxytag: member="gtksourceview::SourceBuffer::signal_highlight_updated" ref="04a46f01eafcd93032187d8bb7a003f0" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::SignalProxy2&lt; void,Gtk::TextIter &amp;,Gtk::TextIter &amp; &gt; gtksourceview::SourceBuffer::signal_highlight_updated           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted whenever the syntax highlighting information has been updated, so that views can request a redraw if the region changed is visible. 
<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void highlight_updated(Gtk::TextIter &amp; start, Gtk::TextIter &amp; end)</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="f898d6c1b6813c685e251ac5b3d9ccea"></a><!-- doxytag: member="gtksourceview::SourceBuffer::signal_marker_updated" ref="f898d6c1b6813c685e251ac5b3d9ccea" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::SignalProxy1&lt; void,Gtk::TextIter &amp; &gt; gtksourceview::SourceBuffer::signal_marker_updated           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Emitted whenever a marker of sourcebuffer has changed and needs to be redisplayed by the view. 
<p>
<dl class="user" compact><dt><b>Prototype:</b></dt><dd><code>void marker_updated(Gtk::TextIter &amp; where)</code> </dd></dl>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="02fffa90ab27b57456b95d4d3dfdddfe"></a><!-- doxytag: member="gtksourceview::SourceBuffer::SourceBuffer_Class" ref="02fffa90ab27b57456b95d4d3dfdddfe" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class SourceBuffer_Class<code> [friend]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="810b954050ef2d0eef96f8b469ed9893"></a><!-- doxytag: member="gtksourceview::SourceBuffer::wrap" ref="810b954050ef2d0eef96f8b469ed9893" args="(GtkSourceBuffer *object, bool take_copy=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt; <a class="el" href="classgtksourceview_1_1SourceBuffer.html">gtksourceview::SourceBuffer</a> &gt; wrap           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="sourcebuffer_8h.html#4dea026bc1f112ceace3b9b29daf0dd8">GtkSourceBuffer</a> *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>take_copy</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [related]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>object</em>&nbsp;</td><td>The C instance </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>take_copy</em>&nbsp;</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="sourcebuffer_8h-source.html">sourcebuffer.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue May 1 21:29:15 2007 for libgtksourceviewmm by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>