Contribution from Sebastien Pouliot
svn path=/trunk/gtk-sharp/; revision=38808
This commit is contained in:
parent
bd0222a8e4
commit
5d04249387
1 changed files with 11 additions and 2 deletions
|
@ -694,10 +694,19 @@
|
|||
<param name="name">the name of the mark</param>
|
||||
<param name="where">the new location for mark</param>
|
||||
<remarks>
|
||||
<para>It is possible to use built-in marks to implement a "Select All" method on a buffer (e.g. <see cref="M:Gtk.TextView.Buffer" />).</para>
|
||||
<para>
|
||||
see <see cref="M:Gtk.TextBuffer.MoveMark(Gtk.TextMark,Gtk.TextIter)" />
|
||||
for more details.
|
||||
<example>
|
||||
<code lang="C#">
|
||||
private void SelectAll (TextBuffer buffer)
|
||||
{
|
||||
buffer.MoveMark ("insert", buffer.StartIter);
|
||||
buffer.MoveMark ("selection_bound", buffer.EndIter);
|
||||
}
|
||||
</code>
|
||||
</example>
|
||||
</para>
|
||||
<para>See <see cref="M:Gtk.TextBuffer.MoveMark(Gtk.TextMark,Gtk.TextIter)" /> for more details.</para>
|
||||
</remarks>
|
||||
</Docs>
|
||||
</Member>
|
||||
|
|
Loading…
Add table
Reference in a new issue