'Gets the actual profile name.
:return: The profile name for the actual cursor position.'

def _get_profile_name(self):

    profile_obj = self._get_profile()
    if (profile_obj is None):
        return None
    return profile_obj.get_name()
