GtkDeleteType

Passed to various keybinding signals for deleting text.

Values

ValueMeaning
CHARS0

Delete characters.

WORD_ENDS1

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.

DISPLAY_LINES3

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.

DISPLAY_LINE_ENDS4

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

PARAGRAPH_ENDS5

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.

Meta