mous drag mous event cur handl index global cur editor select manag select enclos fig 