API to map from strong/weak cursor x to index
Submitted by Owen Taylor
Link to original bug (#101380)
Description
Proper handling of the non-split cursor in GtkTextView requires a way of going from a X location to the layout index that results in the weak cursor being at that X location.
See bug 73307.
Version: 1.1.x