improved suggestions - get current word based on cursor position