menu

EditIntent

import { EditIntent } from "destack:input/binding";

Edit intent kind aligned with web beforeinput input types.

language/library/src/input/binding/text.ds:101:194
1export enum EditIntent {2    InsertText = 1,3    InsertReplacementText = 2,4    InsertLineBreak = 3,5    InsertParagraph = 4,6    InsertOrderedList = 5,7    InsertUnorderedList = 6,8    InsertHorizontalRule = 7,9    InsertLink = 8,10    InsertFromYank = 9,11    InsertFromDrop = 10,12    InsertFromPaste = 11,13    InsertFromPasteAsQuotation = 12,14    InsertTranspose = 13,15    InsertCompositionText = 14,16    DeleteWordBackward = 15,17    DeleteWordForward = 16,18    DeleteSoftLineBackward = 17,19    DeleteSoftLineForward = 18,20    DeleteEntireSoftLine = 19,21    DeleteHardLineBackward = 20,22    DeleteHardLineForward = 21,23    DeleteByDrag = 22,24    DeleteByCut = 23,25    DeleteContent = 24,26    DeleteContentBackward = 25,27    DeleteContentForward = 26,28    HistoryUndo = 27,29    HistoryRedo = 28,30    FormatBold = 29,31    FormatItalic = 30,32    FormatUnderline = 31,33    FormatStrikeThrough = 32,34    FormatSuperscript = 33,35    FormatSubscript = 34,36    FormatJustifyCenter = 35,37    FormatJustifyFull = 36,38    FormatJustifyLeft = 37,39    FormatJustifyRight = 38,40    FormatIndent = 39,41    FormatOutdent = 40,42    FormatRemove = 41,43    FormatSetBlockTextDirection = 42,44    FormatSetInlineTextDirection = 43,45    FormatBackColor = 44,46    FormatFontColor = 45,47    FormatFontName = 46,48}

Variants

InsertText = 1

insertText.

InsertReplacementText = 2

insertReplacementText.

InsertLineBreak = 3

insertLineBreak.

InsertParagraph = 4

insertParagraph.

InsertOrderedList = 5

insertOrderedList.

InsertUnorderedList = 6

insertUnorderedList.

InsertHorizontalRule = 7

insertHorizontalRule.

InsertLink = 8

insertLink.

InsertFromYank = 9

insertFromYank.

InsertFromDrop = 10

insertFromDrop.

InsertFromPaste = 11

insertFromPaste.

InsertFromPasteAsQuotation = 12

insertFromPasteAsQuotation.

InsertTranspose = 13

insertTranspose.

InsertCompositionText = 14

insertCompositionText.

DeleteWordBackward = 15

deleteWordBackward.

DeleteWordForward = 16

deleteWordForward.

DeleteSoftLineBackward = 17

deleteSoftLineBackward.

DeleteSoftLineForward = 18

deleteSoftLineForward.

DeleteEntireSoftLine = 19

deleteEntireSoftLine.

DeleteHardLineBackward = 20

deleteHardLineBackward.

DeleteHardLineForward = 21

deleteHardLineForward.

DeleteByDrag = 22

deleteByDrag.

DeleteByCut = 23

deleteByCut.

DeleteContent = 24

deleteContent.

DeleteContentBackward = 25

deleteContentBackward.

DeleteContentForward = 26

deleteContentForward.

HistoryUndo = 27

historyUndo.

HistoryRedo = 28

historyRedo.

FormatBold = 29

formatBold.

FormatItalic = 30

formatItalic.

FormatUnderline = 31

formatUnderline.

FormatStrikeThrough = 32

formatStrikeThrough.

FormatSuperscript = 33

formatSuperscript.

FormatSubscript = 34

formatSubscript.

FormatJustifyCenter = 35

formatJustifyCenter.

FormatJustifyFull = 36

formatJustifyFull.

FormatJustifyLeft = 37

formatJustifyLeft.

FormatJustifyRight = 38

formatJustifyRight.

FormatIndent = 39

formatIndent.

FormatOutdent = 40

formatOutdent.

FormatRemove = 41

formatRemove.

FormatSetBlockTextDirection = 42

formatSetBlockTextDirection.

FormatSetInlineTextDirection = 43

formatSetInlineTextDirection.

FormatBackColor = 44

formatBackColor.

FormatFontColor = 45

formatFontColor.

FormatFontName = 46

formatFontName.