ENYO-3571: previous solution won't work in case there's no CRLF line termination; if related position.column going back 2 bytes gives -1, it's a CRLF line termination, must go back one byte further