gtkTextBufferSelectRange: gtkTextBufferSelectRange

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

This function moves the "insert" and "selection_bound" marks simultaneously. If you move them in two steps with gtkTextBufferMoveMark, 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.

Usage

1
gtkTextBufferSelectRange(object, ins, bound)

Arguments

object

a GtkTextBuffer

ins

where to put the "insert" mark

bound

where to put the "selection_bound" mark

Details

Since 2.4

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.