This file is indexed.

/usr/share/doc/libghc-gtksourceview2-doc/html/Graphics-UI-Gtk-SourceView-SourceBuffer.html is in libghc-gtksourceview2-doc 0.12.3.1-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Graphics.UI.Gtk.SourceView.SourceBuffer</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Graphics-UI-Gtk-SourceView-SourceBuffer.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">gtksourceview2-0.12.3.1: Binding to the GtkSourceView library.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>portable (depends on GHC)</td></tr><tr><th>Stability</th><td>provisional</td></tr><tr><th>Maintainer</th><td>gtk2hs-users@lists.sourceforge.net</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Graphics.UI.Gtk.SourceView.SourceBuffer</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Description
</a></li><li><a href="#g:2">Types
</a></li><li><a href="#g:3">Methods
</a></li><li><a href="#g:4">Attributes
</a></li><li><a href="#g:5">Signals
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc empty">&nbsp;</div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:SourceBuffer">SourceBuffer</a> </li><li class="src short"><span class="keyword">class</span> <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextBuffer.html#t:TextBufferClass">TextBufferClass</a> o =&gt; <a href="#t:SourceBufferClass">SourceBufferClass</a> o </li><li class="src short"><a href="#v:castToSourceBuffer">castToSourceBuffer</a> :: <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></li><li class="src short"><a href="#v:sourceBufferNew">sourceBufferNew</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextTagTable.html#t:TextTagTable">TextTagTable</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></li><li class="src short"><a href="#v:sourceBufferNewWithLanguage">sourceBufferNewWithLanguage</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></li><li class="src short"><a href="#v:sourceBufferSetHighlightSyntax">sourceBufferSetHighlightSyntax</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferGetHighlightSyntax">sourceBufferGetHighlightSyntax</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferSetLanguage">sourceBufferSetLanguage</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferGetLanguage">sourceBufferGetLanguage</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a>)</li><li class="src short"><a href="#v:sourceBufferSetHighlightMatchingBrackets">sourceBufferSetHighlightMatchingBrackets</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferGetHighlightMatchingBrackets">sourceBufferGetHighlightMatchingBrackets</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferSetStyleScheme">sourceBufferSetStyleScheme</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceStyleScheme.html#t:SourceStyleScheme">SourceStyleScheme</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferGetStyleScheme">sourceBufferGetStyleScheme</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceStyleScheme.html#t:SourceStyleScheme">SourceStyleScheme</a>)</li><li class="src short"><a href="#v:sourceBufferSetMaxUndoLevels">sourceBufferSetMaxUndoLevels</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferGetMaxUndoLevels">sourceBufferGetMaxUndoLevels</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:sourceBufferGetCanUndo">sourceBufferGetCanUndo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferGetCanRedo">sourceBufferGetCanRedo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferUndo">sourceBufferUndo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferRedo">sourceBufferRedo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferBeginNotUndoableAction">sourceBufferBeginNotUndoableAction</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferEndNotUndoableAction">sourceBufferEndNotUndoableAction</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferCreateSourceMark">sourceBufferCreateSourceMark</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-SourceView-SourceMark.html#t:SourceMark">SourceMark</a></li><li class="src short"><a href="#v:sourceBufferGetSourceMarksAtLine">sourceBufferGetSourceMarksAtLine</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Graphics-UI-Gtk-SourceView-SourceMark.html#t:SourceMark">SourceMark</a>]</li><li class="src short"><a href="#v:sourceBufferGetSourceMarksAtIter">sourceBufferGetSourceMarksAtIter</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Graphics-UI-Gtk-SourceView-SourceMark.html#t:SourceMark">SourceMark</a>]</li><li class="src short"><a href="#v:sourceBufferRemoveSourceMarks">sourceBufferRemoveSourceMarks</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferForwardIterToSourceMark">sourceBufferForwardIterToSourceMark</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferBackwardIterToSourceMark">sourceBufferBackwardIterToSourceMark</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferEnsureHighlight">sourceBufferEnsureHighlight</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</li><li class="src short"><a href="#v:sourceBufferCanRedo">sourceBufferCanRedo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:ReadAttr">ReadAttr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferCanUndo">sourceBufferCanUndo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:ReadAttr">ReadAttr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferHighlightMatchingBrackets">sourceBufferHighlightMatchingBrackets</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferHighlightSyntax">sourceBufferHighlightSyntax</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></li><li class="src short"><a href="#v:sourceBufferLanguage">sourceBufferLanguage</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a>)</li><li class="src short"><a href="#v:sourceBufferSourceStyleScheme">sourceBufferSourceStyleScheme</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceStyleScheme.html#t:SourceStyleScheme">SourceStyleScheme</a>)</li><li class="src short"><a href="#v:sourceBufferMaxUndoLevels">sourceBufferMaxUndoLevels</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></li><li class="src short"><a href="#v:sourceBufferUndoManager">sourceBufferUndoManager</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer <a href="Graphics-UI-Gtk-SourceView-SourceUndoManager.html#t:SourceUndoManager">SourceUndoManager</a></li><li class="src short"><a href="#v:sourceBufferHighlightUpdated">sourceBufferHighlightUpdated</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> buffer (<a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())</li><li class="src short"><a href="#v:sourceBufferRedoSignal">sourceBufferRedoSignal</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> buffer (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())</li><li class="src short"><a href="#v:sourceBufferUndoSignal">sourceBufferUndoSignal</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> buffer (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())</li><li class="src short"><a href="#v:sourceBufferSourceMarkUpdated">sourceBufferSourceMarkUpdated</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> buffer (<a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextMark.html#t:TextMark">TextMark</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())</li></ul></div><div id="interface"><h1 id="g:1">Description
</h1><div class="doc"><p>The <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code> object is the model for <code><a href="Graphics-UI-Gtk-SourceView-SourceView.html#t:SourceView">SourceView</a></code> widgets. It extends the <code><a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextBuffer.html#t:TextBuffer">TextBuffer</a></code>
 object by adding features useful to display and edit source code as syntax highlighting and bracket
 matching. It also implements support for undo/redo operations.
</p><p>To create a <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code> use <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferNew">sourceBufferNew</a></code> or
 <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferNewWithLanguage">sourceBufferNewWithLanguage</a></code>. The second form is just a convenience function which allows
 you to initially set a <code><a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a></code>.
</p><p>By default highlighting is enabled, but you can disable it with
 <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferSetHighlightSyntax">sourceBufferSetHighlightSyntax</a></code>.
</p></div><h1 id="g:2">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:SourceBuffer" class="def">SourceBuffer</a>  <a href="src/Graphics-UI-Gtk-SourceView-Types.html#SourceBuffer" class="link">Source</a></p><div class="subs instances"><p id="control.i:SourceBuffer" class="caption collapser" onclick="toggleSection('i:SourceBuffer')">Instances</p><div id="section.i:SourceBuffer" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextBuffer.html#t:TextBufferClass">TextBufferClass</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextBuffer.html#t:TextBufferClass">TextBufferClass</a> o =&gt; <a name="t:SourceBufferClass" class="def">SourceBufferClass</a> o <a href="src/Graphics-UI-Gtk-SourceView-Types.html#SourceBufferClass" class="link">Source</a></p><div class="subs instances"><p id="control.i:SourceBufferClass" class="caption collapser" onclick="toggleSection('i:SourceBufferClass')">Instances</p><div id="section.i:SourceBufferClass" class="show"><table><tr><td class="src"><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:3">Methods
</h1><div class="top"><p class="src"><a name="v:castToSourceBuffer" class="def">castToSourceBuffer</a> :: <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-GObject.html#t:GObjectClass">GObjectClass</a> obj =&gt; obj -&gt; <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a><a href="src/Graphics-UI-Gtk-SourceView-Types.html#castToSourceBuffer" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:sourceBufferNew" class="def">sourceBufferNew</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextTagTable.html#t:TextTagTable">TextTagTable</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferNew" class="link">Source</a></p><div class="doc"><p>Create a new <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code>, possibly
 taking a <code><a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextTagTable.html#t:TextTagTable">TextTagTable</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferNewWithLanguage" class="def">sourceBufferNewWithLanguage</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferNewWithLanguage" class="link">Source</a></p><div class="doc"><p>Create a new <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code>
 with a <code><a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferSetHighlightSyntax" class="def">sourceBufferSetHighlightSyntax</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferSetHighlightSyntax" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc"><p><code>buffer</code> a <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code>.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>highlight</code> <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code> to enable syntax highlighting, <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:False">False</a></code> to disable it.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Controls whether syntax is highlighted in the buffer. If highlight is <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code>, the text will be
 highlighted according to the syntax patterns specified in the language set with
 <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferSetLanguage">sourceBufferSetLanguage</a></code>. If highlight is <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:False">False</a></code>, syntax highlighting is disabled and all the
 <code><a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextTag.html#t:TextTag">TextTag</a></code> objects that have been added by the syntax highlighting engine are removed from the
 buffer.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferGetHighlightSyntax" class="def">sourceBufferGetHighlightSyntax</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferGetHighlightSyntax" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code> if syntax highlighting is enabled, <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:False">False</a></code> otherwise.
</p></td></tr></table></div><div class="doc"><p>Determines whether syntax highlighting is activated in the source buffer.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferSetLanguage" class="def">sourceBufferSetLanguage</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferSetLanguage" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a></td><td class="doc"><p><code>language</code> a <code><a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a></code> to set, or <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code>.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Associate a <code><a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a></code> with the source buffer. If language is not-<code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code> and syntax
 highlighting is enabled (see <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferSetHighlightSyntax">sourceBufferSetHighlightSyntax</a></code>, the syntax patterns defined
 in language will be used to highlight the text contained in the buffer. If language is <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code>, the
 text contained in the buffer is not highlighted.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferGetLanguage" class="def">sourceBufferGetLanguage</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferGetLanguage" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a>)</td><td class="doc"><p>returns <code><a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a></code> associated with the buffer, or <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code>.
</p></td></tr></table></div><div class="doc"><p>Returns the <code><a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a></code> associated with the buffer, see <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferSetLanguage">sourceBufferSetLanguage</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferSetHighlightMatchingBrackets" class="def">sourceBufferSetHighlightMatchingBrackets</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferSetHighlightMatchingBrackets" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p><code>highlight</code> <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code> if you want matching brackets highlighted.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Controls the bracket match highlighting function in the buffer. 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
 <code>sourceBufferSetBracketMatchStyle</code> function.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferGetHighlightMatchingBrackets" class="def">sourceBufferGetHighlightMatchingBrackets</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferGetHighlightMatchingBrackets" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code> if the source buffer will highlight matching brackets.
</p></td></tr></table></div><div class="doc"><p>Determines whether bracket match highlighting is activated for the source buffer.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferSetStyleScheme" class="def">sourceBufferSetStyleScheme</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferSetStyleScheme" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceStyleScheme.html#t:SourceStyleScheme">SourceStyleScheme</a></td><td class="doc"><p><code>scheme</code> style scheme.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets style scheme used by the buffer. If scheme is <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code> no style scheme is used.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferGetStyleScheme" class="def">sourceBufferGetStyleScheme</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferGetStyleScheme" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceStyleScheme.html#t:SourceStyleScheme">SourceStyleScheme</a>)</td><td class="doc"><p>returns the <code><a href="Graphics-UI-Gtk-SourceView-SourceStyleScheme.html#t:SourceStyleScheme">SourceStyleScheme</a></code> set by <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferSetStyleScheme">sourceBufferSetStyleScheme</a></code>, or <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#v:Nothing">Nothing</a></code>.
</p></td></tr></table></div><div class="doc"><p>Returns the <code><a href="Graphics-UI-Gtk-SourceView-SourceStyleScheme.html#t:SourceStyleScheme">SourceStyleScheme</a></code> currently used in buffer.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferSetMaxUndoLevels" class="def">sourceBufferSetMaxUndoLevels</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferSetMaxUndoLevels" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>maxUndoLevels</code> the desired maximum number of undo levels.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Sets the number of undo levels for user actions the buffer will track. If the number of user actions
 exceeds the limit set by this function, older actions will be discarded.
</p><p>If <code>maxUndoLevels</code> is -1, no limit is set.
</p><p>A new action is started whenever the function <code>textBufferBeginUserAction</code> 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.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferGetMaxUndoLevels" class="def">sourceBufferGetMaxUndoLevels</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferGetMaxUndoLevels" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></td><td class="doc"><p>returns the maximum number of possible undo levels or -1 if no limit is set.
</p></td></tr></table></div><div class="doc"><p>Determines the number of undo levels the buffer will track for buffer edits.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferGetCanUndo" class="def">sourceBufferGetCanUndo</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferGetCanUndo" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code> if it's possible to undo the last action. 
</p></td></tr></table></div><div class="doc"><p>Determines whether a source buffer can undo the last action.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferGetCanRedo" class="def">sourceBufferGetCanRedo</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferGetCanRedo" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code> if a redo is possible.
</p></td></tr></table></div><div class="doc"><p>Determines whether a source buffer can redo the last action (i.e. if the last operation was an
 undo).
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferUndo" class="def">sourceBufferUndo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferUndo" class="link">Source</a></p><div class="doc"><p>Undoes the last user action which modified the buffer. Use <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferCanUndo">sourceBufferCanUndo</a></code> to check
 whether a call to this function will have any effect.
</p><p>Actions are defined as groups of operations between a call to <code>textBufferBeginUserAction</code>
 and <code>textBufferEndUserAction</code> on the
 same line.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferRedo" class="def">sourceBufferRedo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferRedo" class="link">Source</a></p><div class="doc"><p>Redoes the last undo operation. Use <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferCanRedo">sourceBufferCanRedo</a></code> to check whether a call to this
 function will have any effect.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferBeginNotUndoableAction" class="def">sourceBufferBeginNotUndoableAction</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferBeginNotUndoableAction" class="link">Source</a></p><div class="doc"><p>Marks the beginning of a not undoable action on the buffer, disabling the undo manager. Typically
 you would call this function before initially setting the contents of the buffer (e.g. when loading
 a file in a text editor).
</p><p>You may nest <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferBeginNotUndoableAction">sourceBufferBeginNotUndoableAction</a></code> /
 <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#v:sourceBufferEndNotUndoableAction">sourceBufferEndNotUndoableAction</a></code> blocks.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferEndNotUndoableAction" class="def">sourceBufferEndNotUndoableAction</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferEndNotUndoableAction" class="link">Source</a></p><div class="doc"><p>Marks the end of a not undoable action on the buffer. 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.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferCreateSourceMark" class="def">sourceBufferCreateSourceMark</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; buffer -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a> -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="Graphics-UI-Gtk-SourceView-SourceMark.html#t:SourceMark">SourceMark</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferCreateSourceMark" class="link">Source</a></p><div class="doc"><p>Creates a marker in the buffer of the given type.
</p><ul><li> A marker is
 semantically very similar to a <code><a href="Graphics-UI-Gtk-Multiline.html#t:TextMark">TextMark</a></code>,
 except it has a type
 which is used by the <code><a href="Graphics-UI-Gtk-SourceView-SourceView.html#t:SourceView">SourceView</a></code> 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.
</li><li> Markers are implemented using <code><a href="Graphics-UI-Gtk-Multiline.html#t:TextMark">TextMark</a></code>,
 so all characteristics
 and restrictions to marks apply to markers too. These includes
 life cycle issues and <code><a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextMark.html#t:onMarkSet">onMarkSet</a></code>
 and <code><a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextMark.html#t:onMarkDeleted">onMarkDeleted</a></code> signal
 emissions.
</li><li> Like a <code><a href="Graphics-UI-Gtk-Multiline.html#t:TextMark">TextMark</a></code>, a <code>SourceMarker</code>
 can be anonymous if the
 passed name is <code>Nothing</code>. Also, the buffer owns the markers so you
 shouldn't unreference it.
</li></ul></div></div><div class="top"><p class="src"><a name="v:sourceBufferGetSourceMarksAtLine" class="def">sourceBufferGetSourceMarksAtLine</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferGetSourceMarksAtLine" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc"><p><code>buffer</code> a <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code>.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a></td><td class="doc"><p><code>line</code> a line number.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p><code>category</code> category to search for or empty
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Graphics-UI-Gtk-SourceView-SourceMark.html#t:SourceMark">SourceMark</a>]</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Returns the list of marks of the given category at line. If category is empty, all marks at line are
 returned.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferGetSourceMarksAtIter" class="def">sourceBufferGetSourceMarksAtIter</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferGetSourceMarksAtIter" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc"><p><code>buffer</code> a <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code>.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a></td><td class="doc"><p><code>iter</code> an iterator.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p><code>category</code> category to search for or empty
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> [<a href="Graphics-UI-Gtk-SourceView-SourceMark.html#t:SourceMark">SourceMark</a>]</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Returns the list of marks of the given category at iter. If category is empty it returns all marks at
 iter.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferRemoveSourceMarks" class="def">sourceBufferRemoveSourceMarks</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferRemoveSourceMarks" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc"><p><code>buffer</code> a <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code>.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a></td><td class="doc"><p><code>start</code> a <code><a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a></td><td class="doc"><p><code>end</code> a <code><a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a></code>
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p><code>category</code> category to search for or empty
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Remove all marks of category between start and end from the buffer. If category is empty, all marks
 in the range will be removed.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferForwardIterToSourceMark" class="def">sourceBufferForwardIterToSourceMark</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferForwardIterToSourceMark" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc"><p><code>buffer</code> a <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code>.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a></td><td class="doc"><p><code>iter</code> an iterator.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p><code>category</code> category to search for or emtpy
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns whether iter moved.
</p></td></tr></table></div><div class="doc"><p>Moves iter to the position of the next <code><a href="Graphics-UI-Gtk-SourceView-SourceMark.html#t:SourceMark">SourceMark</a></code> of the given category. Returns <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code> if iter was
 moved. If category is empty, the next source mark can be of any category.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferBackwardIterToSourceMark" class="def">sourceBufferBackwardIterToSourceMark</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferBackwardIterToSourceMark" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc"><p><code>buffer</code> a <code><a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBuffer">SourceBuffer</a></code>.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a></td><td class="doc"><p><code>iter</code> an iterator.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></td><td class="doc"><p><code>category</code> category to search for or emtpy
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a></td><td class="doc"><p>returns whether iter moved.
</p></td></tr></table></div><div class="doc"><p>Moves iter to the position of the previous <code><a href="Graphics-UI-Gtk-SourceView-SourceMark.html#t:SourceMark">SourceMark</a></code> of the given category. Returns <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code> if iter
 was moved. If category is empty, the previous source mark can be of any category.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferEnsureHighlight" class="def">sourceBufferEnsureHighlight</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferEnsureHighlight" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; buffer</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a></td><td class="doc"><p><code>start</code> start of the area to highlight.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a></td><td class="doc"><p><code>end</code> end of the area to highlight.
</p></td></tr><tr><td class="src">-&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ()</td><td class="doc empty">&nbsp;</td></tr></table></div><div class="doc"><p>Forces buffer to analyze and highlight the given area synchronously.
</p><p>Note
</p><p>This is a potentially slow operation and should be used only when you need to make sure that some
 text not currently visible is highlighted, for instance before printing.
</p></div></div><h1 id="g:4">Attributes
</h1><div class="top"><p class="src"><a name="v:sourceBufferCanRedo" class="def">sourceBufferCanRedo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:ReadAttr">ReadAttr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferCanRedo" class="link">Source</a></p><div class="doc"><p>Whether Redo operation is possible.
</p><p>Default value: <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:False">False</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferCanUndo" class="def">sourceBufferCanUndo</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:ReadAttr">ReadAttr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferCanUndo" class="link">Source</a></p><div class="doc"><p>Whether Undo operation is possible.
</p><p>Default value: <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:False">False</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferHighlightMatchingBrackets" class="def">sourceBufferHighlightMatchingBrackets</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferHighlightMatchingBrackets" class="link">Source</a></p><div class="doc"><p>Whether to highlight matching brackets in the buffer.
</p><p>Default value: <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferHighlightSyntax" class="def">sourceBufferHighlightSyntax</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#t:Bool">Bool</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferHighlightSyntax" class="link">Source</a></p><div class="doc"><p>Whether to highlight syntax in the buffer.
</p><p>Default value: <code><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Bool.html#v:True">True</a></code>
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferLanguage" class="def">sourceBufferLanguage</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceLanguage.html#t:SourceLanguage">SourceLanguage</a>)<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferLanguage" class="link">Source</a></p><div class="doc"><p>Language object to get highlighting patterns from.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferSourceStyleScheme" class="def">sourceBufferSourceStyleScheme</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Maybe.html#t:Maybe">Maybe</a> <a href="Graphics-UI-Gtk-SourceView-SourceStyleScheme.html#t:SourceStyleScheme">SourceStyleScheme</a>)<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferSourceStyleScheme" class="link">Source</a></p><div class="doc"><p>Style scheme. It contains styles for syntax highlighting, optionally foreground, background, cursor
 color, current line color, and matching brackets style.
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferMaxUndoLevels" class="def">sourceBufferMaxUndoLevels</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Int.html#t:Int">Int</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferMaxUndoLevels" class="link">Source</a></p><div class="doc"><p>Number of undo levels for the buffer. -1 means no limit. This property will only affect the default
 undo manager.
</p><p>Allowed values: &gt;= GMaxulong
</p><p>Default value: 1000
</p></div></div><div class="top"><p class="src"><a name="v:sourceBufferUndoManager" class="def">sourceBufferUndoManager</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Attributes.html#t:Attr">Attr</a> buffer <a href="Graphics-UI-Gtk-SourceView-SourceUndoManager.html#t:SourceUndoManager">SourceUndoManager</a><a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferUndoManager" class="link">Source</a></p><div class="doc"><p>The buffer undo manager.
</p></div></div><h1 id="g:5">Signals
</h1><div class="top"><p class="src"><a name="v:sourceBufferHighlightUpdated" class="def">sourceBufferHighlightUpdated</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> buffer (<a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextIter.html#t:TextIter">TextIter</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferHighlightUpdated" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:sourceBufferRedoSignal" class="def">sourceBufferRedoSignal</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> buffer (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferRedoSignal" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:sourceBufferUndoSignal" class="def">sourceBufferUndoSignal</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> buffer (<a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferUndoSignal" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:sourceBufferSourceMarkUpdated" class="def">sourceBufferSourceMarkUpdated</a> :: <a href="Graphics-UI-Gtk-SourceView-SourceBuffer.html#t:SourceBufferClass">SourceBufferClass</a> buffer =&gt; <a href="/usr/share/doc/libghc-glib-doc/html/System-Glib-Signals.html#t:Signal">Signal</a> buffer (<a href="/usr/share/doc/libghc-gtk-doc/html/Graphics-UI-Gtk-Multiline-TextMark.html#t:TextMark">TextMark</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> ())<a href="src/Graphics-UI-Gtk-SourceView-SourceBuffer.html#sourceBufferSourceMarkUpdated" class="link">Source</a></p><div class="doc"><p>The <code>sourceBufferMarkUpdated</code> signal is emitted each time a mark is added to, moved or removed from the
 buffer.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>