The code editor splits lines on LF only, so End and Right can leave the caret between CR and LF. line_start and line_end now read that spot as the end of its line, so insert_table keeps CRLF around a new table. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>