Sets our main struct and passes it to the parent class.
Creates a new #GtkSourceMap.
Get the main Gtk struct
the main Gtk struct as a void*
Gets the #GtkSourceMap:view property, which is the view this widget is mapping.
Sets the view that @map will be doing the mapping to.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Returns the GtkSourceBuffer being displayed by this source view. The reference count on the buffer is not incremented; the caller of this function won't own a new reference.
Returns whether auto-indentation of text is enabled.
Returns the #GtkSourceBackgroundPatternType specifying if and how the background pattern should be displayed for this @view.
Gets the #GtkSourceCompletion associated with @view. The returned object is guaranteed to be the same for the lifetime of @view. Each #GtkSourceView object has a different #GtkSourceCompletion.
Returns the #GtkSourceDrawSpacesFlags specifying if and how spaces should be displayed for this @view.
Returns the #GtkSourceGutter object associated with @window_type for @view. Only GTK_TEXT_WINDOW_LEFT and GTK_TEXT_WINDOW_RIGHT are supported, respectively corresponding to the left and right gutter. The line numbers and mark category icons are rendered in the left gutter.
Returns whether the current line is highlighted.
Returns whether when the tab key is pressed the current selection should get indented instead of replaced with the \t character.
Returns the number of spaces to use for each step of indent. See gtk_source_view_set_indent_width() for details.
Returns whether when inserting a tabulator character it should be replaced by a group of space characters.
Gets attributes and priority for the @category.
Gets the position of the right margin in the given @view.
Returns whether line marks are displayed beside the text.
Returns whether line numbers are displayed beside the text.
Returns whether a right margin is displayed.
Returns %TRUE if pressing the Backspace key will try to delete spaces up to the previous tab stop.
Returns a #GtkSourceSmartHomeEndType end value specifying how the cursor will move when HOME and END keys are pressed.
Gets the #GtkSourceSpaceDrawer associated with @view. The returned object is guaranteed to be the same for the lifetime of @view. Each #GtkSourceView object has a different #GtkSourceSpaceDrawer.
Returns the width of tabulation in characters.
Determines the visual column at @iter taking into consideration the #GtkSourceView:tab-width of @view.
Inserts one indentation level at the beginning of the specified lines. The empty lines are not indented.
If %TRUE auto-indentation of text is enabled.
Set if and how the background pattern should be displayed.
Set if and how the spaces should be visualized. Specifying @flags as 0 will disable display of spaces.
If @highlight is %TRUE the current line will be highlighted.
If %TRUE, when the tab key is pressed when several lines are selected, the selected lines are indented of one level instead of being replaced with a \t character. Shift+Tab unindents the selection.
Sets the number of spaces to use for each step of indent when the tab key is pressed. If @width is -1, the value of the #GtkSourceView:tab-width property will be used.
If %TRUE a tab key pressed is replaced by a group of space characters. Of course it is still possible to insert a real \t programmatically with the #GtkTextBuffer API.
Sets attributes and priority for the @category.
Sets the position of the right margin in the given @view.
If %TRUE line marks will be displayed beside the text.
If %TRUE line numbers will be displayed beside the text.
If %TRUE a right margin is displayed.
When set to %TRUE, pressing the Backspace key will try to delete spaces up to the previous tab stop.
Set the desired movement of the cursor when HOME and END keys are pressed.
Sets the width of tabulation in characters. The #GtkTextBuffer still contains \t characters, but they can take a different visual width in a #GtkSourceView widget.
Removes one indentation level at the beginning of the specified lines.
Keybinding signal to change case of the text at the current cursor position.
Keybinding signal to edit a number at the current cursor position.
Keybinding signal to join the lines currently selected.
Emitted when a line mark has been activated (for instance when there was a button press in the line marks gutter). You can use @iter to determine on which line the activation took place.
The ::move-lines signal is a keybinding which gets emitted when the user initiates moving a line. The default binding key is Alt+Up/Down arrow. And moves the currently selected lines, or the current line by @count. For the moment, only @count of -1 or 1 is valid.
Keybinding signal to move the cursor to the matching bracket.
The ::move-words signal is a keybinding which gets emitted when the user initiates moving a word. The default binding key is Alt+Left/Right Arrow and moves the current selection, or the current word by one word.
The ::show-completion signal is a key binding signal which gets emitted when the user requests a completion, by pressing <keycombo><keycap>Control</keycap><keycap>space</keycap></keycombo>.
Emitted when a the cursor was moved according to the smart home end setting. The signal is emitted after the cursor is moved, but during the GtkTextView::move-cursor action. This can be used to find out whether the cursor was moved by a normal home/end or by a smart home/end.