fixed end of line snippet behavior