Skip to content

Commit

Permalink
add softline/hardline deletion forward/backward + delete entire softl…
Browse files Browse the repository at this point in the history
…ine, closes #20
  • Loading branch information
johanneswilm committed Aug 31, 2016
1 parent d8b4f7e commit be68e82
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,11 @@ <h5>Attributes</h5>
<code>"insertOrderedList"</code>, <code>"insertUnorderedList"</code>,
<code>"insertHorizontalRule"</code>, <code>"insertFromYank"</code>,
<code>"insertFromDrop"</code>, <code>"insertFromPaste"</code>,
<code>"deleteWordForward"</code>,
<code>"deleteWordBackward"</code>, <code>"deleteLineForward"</code>,
<code>"deleteLineBackward"</code>, <code>"deleteComposedCharacterBackward"</code>,
<code>"deleteWordForward"</code>, <code>"deleteWordBackward"</code>,
<code>"deleteSoftLineForward"</code>, <code>"deleteSoftLineBackward"</code>,
<code>"deleteEntireSoftLine"</code>,
<code>"deleteHardLineForward"</code>, <code>"deleteHardLineBackward"</code>,
<code>"deleteComposedCharacterBackward"</code>,
<code>"deleteComposedCharacterForward"</code>,
<code>"deleteContentBackward"</code>, <code>"deleteContentForward"</code>,
<code>"deleteByDrag"</code>, <code>"deleteByCut"</code>,
Expand Down Expand Up @@ -341,15 +343,33 @@ <h5>Attributes</h5>
</li>

<li>If the user <a data-lt="express intention">expresses an intention</a>
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
<code>"deleteLineBackward"</code>.
<code>"deleteSoftLineBackward"</code>.
</li>

<li>If the user <a data-lt="express intention">expresses an intention</a>
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
<code>"deleteLineForward"</code>.
<code>"deleteSoftLineForward"</code>.
</li>

<li>If the user <a data-lt="express intention">expresses an intention</a>
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 <code>"deleteEntireSoftLine"</code>.
</li>

<li>If the user <a data-lt="express intention">expresses an intention</a>
to delete from the caret to the nearest hardline break before
the caret position and the selection is empty, the inputType MUST be
<code>"deleteHardlineBackward"</code>.
</li>

<li>If the user <a data-lt="express intention">expresses an intention</a>
to delete from the caret to the nearest hardline break after
the caret position and the selection is empty, the inputType MUST be
<code>"deleteHardlineForward"</code>.
</li>

<li>If the user <a data-lt="express intention">expresses an intention</a>
Expand Down

0 comments on commit be68e82

Please sign in to comment.