make it easier to get cursor before/after semantic blocks