mirror of
https://github.com/storytold/wordcraft.git
synced 2026-10-26 11:27:10 -06:00
* Backspace and Delete remove a section break, imported or not (fixes #2127) * Delete removes a section break on the last paragraph too (#2127) A continuous break on the mark of the document's last paragraph, with the last section holding no paragraph (as in the file attached to #2127), had nothing for Delete to join, so it stayed. Delete at the end now removes it. The text takes the last section's setup, as in Word, and the headers and footers that section showed by linking to the removed one stay, here and when the break goes by joining two paragraphs. Undo brings it back. * Deleting over several section breaks keeps the headers they linked to (#2127) A range across two or more breaks dropped the paragraphs in between with their sections, so only the first section's headers and footers were carried over. The joined section now takes those it leaves out from every removed section, nearest first, as "link to previous" resolved them before the delete. The typing-parity row says that Delete with Track Changes on still leaves a break on the last paragraph alone. --------- Co-authored-by: Brandon Thomas <echelon@gmail.com>