Files
ElyOffice/tasks/reviews/R4.8-r2.md
T
2026-10-14 15:56:47 -04:00

804 B

FAIL

  1. C:/Users/zhang/Documents/Github/Ely-GPUI-Components/src/documents/document/tables.rs:268 — insert_table splits CRLF when the caret is between its two bytes. Reproduction through the public document API: open Intro\r\nNext\r\n in Source mode, focus the editor, press End, then call insert_table. End places the caret at byte 6; line_start and line_end treat that position as an empty line. The result is Intro\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, test review_r48r2_insert_after_end_key_keeps_crlf.