Let firstNonSpacePos and lastNonSpacePos update position destructively.
Deprecate firstNonSpacePos and lastNonSpacePos in favor of skipSpaces.