From be68e82e3b6a16d1a2a50792df46fb066d9a89a6 Mon Sep 17 00:00:00 2001 From: Johannes Wilm Date: Wed, 31 Aug 2016 09:25:19 +0200 Subject: [PATCH] add softline/hardline deletion forward/backward + delete entire softline, closes #20 --- index.html | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index 9ac6a35..5fd1af5 100644 --- a/index.html +++ b/index.html @@ -236,9 +236,11 @@
Attributes
"insertOrderedList", "insertUnorderedList", "insertHorizontalRule", "insertFromYank", "insertFromDrop", "insertFromPaste", - "deleteWordForward", - "deleteWordBackward", "deleteLineForward", - "deleteLineBackward", "deleteComposedCharacterBackward", + "deleteWordForward", "deleteWordBackward", + "deleteSoftLineForward", "deleteSoftLineBackward", + "deleteEntireSoftLine", + "deleteHardLineForward", "deleteHardLineBackward", + "deleteComposedCharacterBackward", "deleteComposedCharacterForward", "deleteContentBackward", "deleteContentForward", "deleteByDrag", "deleteByCut", @@ -341,15 +343,33 @@
Attributes
  • If the user expresses an intention - to delete a line directly before + to delete from the caret to the nearest softline break before the caret position and the selection is empty, the inputType MUST be - "deleteLineBackward". + "deleteSoftLineBackward".
  • If the user expresses an intention - to delete a line directly after + to delete from the caret to the nearest softline break after the caret position and the selection is empty, the inputType MUST be - "deleteLineForward". + "deleteSoftLineForward". +
  • + +
  • If the user expresses an intention + to delete from to the nearest softline break before the caret position + to the nearest softline break after the caret position and the selection + is empty, the inputType MUST be "deleteEntireSoftLine". +
  • + +
  • If the user expresses an intention + to delete from the caret to the nearest hardline break before + the caret position and the selection is empty, the inputType MUST be + "deleteHardlineBackward". +
  • + +
  • If the user expresses an intention + to delete from the caret to the nearest hardline break after + the caret position and the selection is empty, the inputType MUST be + "deleteHardlineForward".
  • If the user expresses an intention