add experimental cursor position helper (cf. issue 2621)