enabled char pos in document context