Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 44b9afc8aaab599f401022b40b477089 > files > 29

ocaml-zed-devel-1.2-8.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Zed_rope.Zip.html">
<link rel="next" href="Zed_rope.Text.html">
<link rel="Up" href="Zed_rope.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Zed_utf8" rel="Chapter" href="Zed_utf8.html">
<link title="Zed_rope" rel="Chapter" href="Zed_rope.html">
<link title="Zed_edit" rel="Chapter" href="Zed_edit.html">
<link title="Zed_cursor" rel="Chapter" href="Zed_cursor.html">
<link title="Zed_lines" rel="Chapter" href="Zed_lines.html">
<link title="Zed_re" rel="Chapter" href="Zed_re.html">
<link title="Zed_input" rel="Chapter" href="Zed_input.html">
<link title="Zed_macro" rel="Chapter" href="Zed_macro.html"><title>Zed_rope.Buffer</title>
</head>
<body>
<div class="navbar"><a class="pre" href="Zed_rope.Zip.html" title="Zed_rope.Zip">Previous</a>
&nbsp;<a class="up" href="Zed_rope.html" title="Zed_rope">Up</a>
&nbsp;<a class="post" href="Zed_rope.Text.html" title="Zed_rope.Text">Next</a>
</div>
<h1>Module <a href="type_Zed_rope.Buffer.html">Zed_rope.Buffer</a></h1>

<pre><span class="keyword">module</span> Buffer: <code class="code">sig</code> <a href="Zed_rope.Buffer.html">..</a> <code class="code">end</code></pre><hr width="100%">
<br>
This module is similar of the <code class="code">Buffer</code> module of the standard
      library except that it works with rope.<br>

<pre><span id="TYPEt"><span class="keyword">type</span> <code class="type"></code>t</span> </pre>
<div class="info ">
Type of rope buffers.<br>
</div>


<pre><span id="VALcreate"><span class="keyword">val</span> create</span> : <code class="type">unit -> <a href="Zed_rope.Buffer.html#TYPEt">t</a></code></pre><div class="info ">
Create a new empty buffer.<br>
</div>

<pre><span id="VALadd"><span class="keyword">val</span> add</span> : <code class="type"><a href="Zed_rope.Buffer.html#TYPEt">t</a> -> CamomileLibrary.UChar.t -> unit</code></pre><div class="info ">
<code class="code">add buffer x</code> add <code class="code">x</code> at the end of <code class="code">buffer</code>.<br>
</div>

<pre><span id="VALcontents"><span class="keyword">val</span> contents</span> : <code class="type"><a href="Zed_rope.Buffer.html#TYPEt">t</a> -> <a href="Zed_rope.html#TYPErope">Zed_rope.rope</a></code></pre><div class="info ">
<code class="code">contents buffer</code> returns the contents of <code class="code">buffer</code> as a
        rope.<br>
</div>

<pre><span id="VALreset"><span class="keyword">val</span> reset</span> : <code class="type"><a href="Zed_rope.Buffer.html#TYPEt">t</a> -> unit</code></pre><div class="info ">
<code class="code">reset buffer</code> resets <code class="code">buffer</code> to its initial state.<br>
</div>
</body></html>