forked from joejulian/gio
b7341672e3
We'd like to re-use the Editor.closestPosition seeking for segmentIterator.Next; this change extracts the state-less logic into functions. Signed-off-by: Elias Naur <mail@eliasnaur.com>