Behaviour SwRS-MDOKFSTUDIO-BLOCK-269
Removing a blank-line block removes that one blank line
When the writer deletes a blank-line block with Delete, Backspace or its Delete block button, the extension SHALL remove that one blank line, keep the separator and the other blank lines in one text edit and one undo step, keep the line endings, refuse a stale line next to the block, and select the blank-line block now at that place, else the one just above it in the same run, else nothing, so that a further Delete or Backspace removes no text. A run of empty quote lines keeps its first line byte for byte, and the removal keeps the final line break of the text, or its absence.
Another outcome at step 2 of path 3 in StRS-MDOKFSTUDIO-BLOCK-011, in the state “A blank-line block is shown”.
Part of StRS-MDOKFSTUDIO-BLOCK-025, outside the paths drawn on its map.
Scenarios 4
The situations the tests check; open one to read it.
nominalRemoving a blank line
nominalThe last blank line of a run
nominalRemoving a blank line inside a list
nominalRefusals
Implemented in 6
Tested by 12
- test/core/mapping/blankRunInList.test.tsunit
- test/core/mapping/blockRange.test.tsunit
- test/core/mapping/quoteBlankRuns.test.tsunit
- test/core/protocol/pageToHost.test.tsunit
- test/integration/blankLines.test.tsintegration
- test/page/runtimeBlankLines.test.tsunit
- test/page/runtimeBlankLinesContainers.test.tsunit
- test/session/blankRunHost.test.tsunit
- test/session/blankRunInContainerHost.test.tsunit
- test/session/blankRunInListHost.test.tsunit
- test/visual/blankLinesBlockScenarios.tsvisual
- test/visual/capture_blank_lines_block.pyvisual