set resume position when | completion is found (closes #1966)