62d8ea21_opment_Guide__Completion_Files__Purpose
[Variable] COMP_POINT [Purpose] 
The index of the current cursor position relative to the beginning of the current command. If the current cursor position is at the end of the current command, the value of this variable is equal to ${#COMP_LINE}.
Gentoo Development Guide: Completion Files
Purpose