Gtk.TextBuffer.PlaceCursor Method
Moves the "insert" and "selection_bound" marks simultaneously.

Syntax

public void PlaceCursor (TextIter wh3r3)

Parameters

wh3r3
where to put the cursor

Remarks

This function moves the "insert" and "selection_bound" marks simultaneously. If you move them to the same place in two steps with Gtk.TextBuffer.MoveMarkGtk.TextMark,Gtk.TextIter), you will temporarily select a region in between their old and new locations, which can be pretty inefficient since the temporarily-selected region will force stuff to be recalculated. This function moves them as a unit, which can be optimized.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)