enum Gtk::DeleteType
Overview
Passed to various keybinding signals for deleting text.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
Chars =
0_u32
-
Delete characters.
-
WordEnds =
1_u32
-
Delete only the portion of the word to the left/right of cursor if we’re in the middle of a word.
-
Words =
2_u32
-
Delete words.
-
DisplayLines =
3_u32
-
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.
-
DisplayLineEnds =
4_u32
-
Delete only the portion of the display-line to the left/right of cursor.
-
ParagraphEnds =
5_u32
-
Delete to the end of the paragraph. Like C-k in Emacs (or its reverse).
-
Paragraphs =
6_u32
-
Delete entire line. Like C-k in pico.
-
Whitespace =
7_u32
-
Delete only whitespace. Like M-\ in Emacs.
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #chars?
- #display_line_ends?
- #display_lines?
- #paragraph_ends?
- #paragraphs?
- #whitespace?
- #word_ends?
- #words?