Add current cursor position support