Note that this is different from $text_view->get_iter_at_location(), which returns cursor locations, i.e. positions between characters.
Note that this is different from $text_view->get_iter_at_location(), which returns cursor locations, i.e. positions between characters.