GtkDeleteType

Passed to various keybinding signals for deleting text.

Values

ValueMeaning
Chars0

Delete characters.

WordEnds1

Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word.

Words2

Delete words.

DisplayLines3

Delete display-lines. Display-lines refers to the visible lines, with respect to the current line breaks. As opposed to paragraphs, which are defined by line breaks in the input.

DisplayLineEnds4

Delete only the portion of the display-line to the left/right of cursor.

ParagraphEnds5

Delete to the end of the paragraph. Like C-k in Emacs (or its reverse).

Paragraphs6

Delete entire line. Like C-k in pico.

Whitespace7

Delete only whitespace. Like M-\ in Emacs.