Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
804 B
804 B
FAIL
C:/Users/zhang/Documents/Github/Ely-GPUI-Components/src/documents/document/tables.rs:268—insert_tablesplits CRLF when the caret is between its two bytes. Reproduction through the public document API: openIntro\r\nNext\r\nin Source mode, focus the editor, press End, then callinsert_table. End places the caret at byte 6;line_startandline_endtreat that position as an empty line. The result isIntro\r\r\n<table>\r\n\nNext\r\n, introducing bare CR and LF instead of preserving CRLF around the inserted table, contrary to §14.3. Treat CRLF as one boundary when resolving the insertion line, including a caret on its LF, and add a regression using the editor's End action. Evidence:.work/R4.8-r2-review/probes.log, testreview_r48r2_insert_after_end_key_keeps_crlf.