gtksourceviewmm Enums and Flags

## Enumerations

enum | Gsv::BracketMatchType { Gsv::BRACKET_MATCH_NONE, Gsv::BRACKET_MATCH_OUT_OF_RANGE, Gsv::BRACKET_MATCH_NOT_FOUND, Gsv::BRACKET_MATCH_FOUND }
enum | Gsv::CompletionActivation { Gsv::COMPLETION_ACTIVATION_NONE = 0x0, Gsv::COMPLETION_ACTIVATION_INTERACTIVE = 1 << 0, Gsv::COMPLETION_ACTIVATION_USER_REQUESTED = 1 << 1 }
enum | Gsv::GutterRendererState { Gsv::GUTTER_RENDERER_STATE_NORMAL = 0x0, Gsv::GUTTER_RENDERER_STATE_CURSOR = 1 << 0, Gsv::GUTTER_RENDERER_STATE_PRELIT = 1 << 1, Gsv::GUTTER_RENDERER_STATE_SELECTED = 1 << 2 }
enum | Gsv::GutterRendererAlignmentMode { Gsv::GUTTER_RENDERER_ALIGNMENT_MODE_CELL, Gsv::GUTTER_RENDERER_ALIGNMENT_MODE_FIRST, Gsv::GUTTER_RENDERER_ALIGNMENT_MODE_LAST }
| The alignment mode of the renderer, when a cell spans multiple lines (due to text wrapping). More...
enum | Gsv::SmartHomeEndType { Gsv::SMART_HOME_END_DISABLED, Gsv::SMART_HOME_END_BEFORE, Gsv::SMART_HOME_END_AFTER, Gsv::SMART_HOME_END_ALWAYS }
enum | Gsv::DrawSpacesFlags { Gsv::DRAW_SPACES_SPACE = 1 << 0, Gsv::DRAW_SPACES_TAB = 1 << 1, Gsv::DRAW_SPACES_NEWLINE = 1 << 2, Gsv::DRAW_SPACES_NBSP = 1 << 3, Gsv::DRAW_SPACES_LEADING = 1 << 4, Gsv::DRAW_SPACES_TEXT = 1 << 5, Gsv::DRAW_SPACES_TRAILING = 1 << 6, Gsv::DRAW_SPACES_ALL = 0x7f }
| GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn. More...
enum | Gsv::BackgroundPatternType { Gsv::BACKGROUND_PATTERN_TYPE_NONE, Gsv::BACKGROUND_PATTERN_TYPE_GRID }

## Functions

CompletionActivation | Gsv::operator| (CompletionActivation lhs, CompletionActivation rhs)
CompletionActivation | Gsv::operator& (CompletionActivation lhs, CompletionActivation rhs)
CompletionActivation | Gsv::operator^ (CompletionActivation lhs, CompletionActivation rhs)
CompletionActivation | Gsv::operator~ (CompletionActivation flags)
CompletionActivation& | Gsv::operator|= (CompletionActivation& lhs, CompletionActivation rhs)
CompletionActivation& | Gsv::operator&= (CompletionActivation& lhs, CompletionActivation rhs)
CompletionActivation& | Gsv::operator^= (CompletionActivation& lhs, CompletionActivation rhs)
GutterRendererState | Gsv::operator| (GutterRendererState lhs, GutterRendererState rhs)
GutterRendererState | Gsv::operator& (GutterRendererState lhs, GutterRendererState rhs)
GutterRendererState | Gsv::operator^ (GutterRendererState lhs, GutterRendererState rhs)
GutterRendererState | Gsv::operator~ (GutterRendererState flags)
GutterRendererState& | Gsv::operator|= (GutterRendererState& lhs, GutterRendererState rhs)
GutterRendererState& | Gsv::operator&= (GutterRendererState& lhs, GutterRendererState rhs)
GutterRendererState& | Gsv::operator^= (GutterRendererState& lhs, GutterRendererState rhs)
DrawSpacesFlags | Gsv::operator| (DrawSpacesFlags lhs, DrawSpacesFlags rhs)
DrawSpacesFlags | Gsv::operator& (DrawSpacesFlags lhs, DrawSpacesFlags rhs)
DrawSpacesFlags | Gsv::operator^ (DrawSpacesFlags lhs, DrawSpacesFlags rhs)
DrawSpacesFlags | Gsv::operator~ (DrawSpacesFlags flags)
DrawSpacesFlags& | Gsv::operator|= (DrawSpacesFlags& lhs, DrawSpacesFlags rhs)
DrawSpacesFlags& | Gsv::operator&= (DrawSpacesFlags& lhs, DrawSpacesFlags rhs)
DrawSpacesFlags& | Gsv::operator^= (DrawSpacesFlags& lhs, DrawSpacesFlags rhs)

## Detailed Description

## Enumeration Type Documentation

enum Gsv::BackgroundPatternType

Since gtksourceviewmm 3.16:

Enumerator
BACKGROUND_PATTERN_TYPE_NONE | No pattern. no pattern
BACKGROUND_PATTERN_TYPE_GRID | Grid pattern. grid pattern

enum Gsv::BracketMatchType

Enumerator

BRACKET_MATCH_NONE

Describes result of matching brackets.

There was no bracket to match.

Since gtksourceviewmm 3.0:
  There is no bracket to match.

BRACKET_MATCH_OUT_OF_RANGE | Matching a bracket failed because the maximum range was reached.
BRACKET_MATCH_NOT_FOUND | A matching bracket was not found.
BRACKET_MATCH_FOUND | A matching bracket was found.

enum Gsv::CompletionActivation

Bitwise operators:
  `CompletionActivation operator|(CompletionActivation, CompletionActivation)`
  `CompletionActivation operator&(CompletionActivation, CompletionActivation)`
  `CompletionActivation operator^(CompletionActivation, CompletionActivation)`
  `CompletionActivation operator~(CompletionActivation)`
  `CompletionActivation& operator|=(CompletionActivation&, CompletionActivation)`
  `CompletionActivation& operator&=(CompletionActivation&, CompletionActivation)`
  `CompletionActivation& operator^=(CompletionActivation&, CompletionActivation)`

Enumerator

COMPLETION_ACTIVATION_NONE

An enum type specifying something bla bla bla, probably type of activation.

None.

Since gtksourceviewmm 2.10:
  None.

COMPLETION_ACTIVATION_INTERACTIVE | Interactive activation. By default, it occurs on each insertion in the Gtk::TextBuffer. This can be blocked temporarily with Gtk::SourceCompletion::block_interactive().
COMPLETION_ACTIVATION_USER_REQUESTED | User requested activation. By default, it occurs when the user presses <keycombo><keycap>Control</keycap><keycap>space</keycap></keycombo>. For example through a keyboard accelerator from the view.

enum Gsv::DrawSpacesFlags

GtkSourceDrawSpacesFlags determine what kind of spaces whould be drawn.

If none of GTK_SOURCE_DRAW_SPACES_LEADING, GTK_SOURCE_DRAW_SPACES_TEXT or GTK_SOURCE_DRAW_SPACES_TRAILING is specified, whitespaces at any position in the line will be drawn (i.e. it has the same effect as specifying all of them).

Bitwise operators:
  `DrawSpacesFlags operator|(DrawSpacesFlags, DrawSpacesFlags)`
  `DrawSpacesFlags operator&(DrawSpacesFlags, DrawSpacesFlags)`
  `DrawSpacesFlags operator^(DrawSpacesFlags, DrawSpacesFlags)`
  `DrawSpacesFlags operator~(DrawSpacesFlags)`
  `DrawSpacesFlags& operator|=(DrawSpacesFlags&, DrawSpacesFlags)`
  `DrawSpacesFlags& operator&=(DrawSpacesFlags&, DrawSpacesFlags)`
  `DrawSpacesFlags& operator^=(DrawSpacesFlags&, DrawSpacesFlags)`

Enumerator
DRAW_SPACES_SPACE | Determines what kind of whitespaces whould be drawn. Whether the space character should be drawn.
DRAW_SPACES_TAB | Whether the tab character should be drawn.
DRAW_SPACES_NEWLINE | Whether the line breaks should be drawn.
DRAW_SPACES_NBSP | Whether the non-breaking whitespaces should be drawn.
DRAW_SPACES_LEADING | Whether leading whitespaces should be drawn.
DRAW_SPACES_TEXT | Whether whitespaces inside text should be drawn.
DRAW_SPACES_TRAILING | Whether trailing whitespaces should be drawn.
DRAW_SPACES_ALL | Wheter all kind of spaces should be drawn. Whether all kind of whitespaces should be drawn.

enum Gsv::GutterRendererAlignmentMode

The alignment mode of the renderer, when a cell spans multiple lines (due to text wrapping).

Enumerator
GUTTER_RENDERER_ALIGNMENT_MODE_CELL | The full cell.
GUTTER_RENDERER_ALIGNMENT_MODE_FIRST | The first line.
GUTTER_RENDERER_ALIGNMENT_MODE_LAST | The last line.

enum Gsv::GutterRendererState

Bitwise operators:
  `GutterRendererState operator|(GutterRendererState, GutterRendererState)`
  `GutterRendererState operator&(GutterRendererState, GutterRendererState)`
  `GutterRendererState operator^(GutterRendererState, GutterRendererState)`
  `GutterRendererState operator~(GutterRendererState)`
  `GutterRendererState& operator|=(GutterRendererState&, GutterRendererState)`
  `GutterRendererState& operator&=(GutterRendererState&, GutterRendererState)`
  `GutterRendererState& operator^=(GutterRendererState&, GutterRendererState)`

Enumerator
GUTTER_RENDERER_STATE_NORMAL | Normal state.
GUTTER_RENDERER_STATE_CURSOR | Area in the renderer represents the line on which the insert cursor is currently positioned.
GUTTER_RENDERER_STATE_PRELIT | The mouse pointer is currently over the activatable area of the renderer.
GUTTER_RENDERER_STATE_SELECTED | Area in the renderer represents a line in the buffer which contains part of the selection.

enum Gsv::SmartHomeEndType

Enumerator
SMART_HOME_END_DISABLED | Defines a behaviour of smart Home/End keys. Smart-home-end disabled.
SMART_HOME_END_BEFORE | Move to the first/last non-whitespace character on the first press of the HOME/END keys and to the beginning/end of the line on the second press.
SMART_HOME_END_AFTER | Move to the beginning/end of the line on the first press of the HOME/END keys and to the first/last non-whitespace character on the second press.
SMART_HOME_END_ALWAYS | Always move to the first/last non-whitespace character when the HOME/END keys are pressed.

## Function Documentation

CompletionActivation Gsv::operator& | ( | CompletionActivation | lhs,
|  | CompletionActivation | rhs
| ) |  |

inline

GutterRendererState Gsv::operator& | ( | GutterRendererState | lhs,
|  | GutterRendererState | rhs
| ) |  |

inline

DrawSpacesFlags Gsv::operator& | ( | DrawSpacesFlags | lhs,
|  | DrawSpacesFlags | rhs
| ) |  |

inline

CompletionActivation& Gsv::operator&= | ( | CompletionActivation& | lhs,
|  | CompletionActivation | rhs
| ) |  |

inline

GutterRendererState& Gsv::operator&= | ( | GutterRendererState& | lhs,
|  | GutterRendererState | rhs
| ) |  |

inline

DrawSpacesFlags& Gsv::operator&= | ( | DrawSpacesFlags& | lhs,
|  | DrawSpacesFlags | rhs
| ) |  |

inline

CompletionActivation Gsv::operator^ | ( | CompletionActivation | lhs,
|  | CompletionActivation | rhs
| ) |  |

inline

GutterRendererState Gsv::operator^ | ( | GutterRendererState | lhs,
|  | GutterRendererState | rhs
| ) |  |

inline

DrawSpacesFlags Gsv::operator^ | ( | DrawSpacesFlags | lhs,
|  | DrawSpacesFlags | rhs
| ) |  |

inline

CompletionActivation& Gsv::operator^= | ( | CompletionActivation& | lhs,
|  | CompletionActivation | rhs
| ) |  |

inline

GutterRendererState& Gsv::operator^= | ( | GutterRendererState& | lhs,
|  | GutterRendererState | rhs
| ) |  |

inline

DrawSpacesFlags& Gsv::operator^= | ( | DrawSpacesFlags& | lhs,
|  | DrawSpacesFlags | rhs
| ) |  |

inline

CompletionActivation Gsv::operator| | ( | CompletionActivation | lhs,
|  | CompletionActivation | rhs
| ) |  |

inline

GutterRendererState Gsv::operator| | ( | GutterRendererState | lhs,
|  | GutterRendererState | rhs
| ) |  |

inline

DrawSpacesFlags Gsv::operator| | ( | DrawSpacesFlags | lhs,
|  | DrawSpacesFlags | rhs
| ) |  |

inline

CompletionActivation& Gsv::operator|= | ( | CompletionActivation& | lhs,
|  | CompletionActivation | rhs
| ) |  |

inline

GutterRendererState& Gsv::operator|= | ( | GutterRendererState& | lhs,
|  | GutterRendererState | rhs
| ) |  |

inline

DrawSpacesFlags& Gsv::operator|= | ( | DrawSpacesFlags& | lhs,
|  | DrawSpacesFlags | rhs
| ) |  |

inline

CompletionActivation Gsv::operator~ | ( | CompletionActivation | flags | ) |

inline

GutterRendererState Gsv::operator~ | ( | GutterRendererState | flags | ) |

inline

DrawSpacesFlags Gsv::operator~ | ( | DrawSpacesFlags | flags | ) |

inline