Enumerations

gtksourceviewmm Enums and Flags

Enumerations

enum gtksourceview::SourceBracketMatchType {
  gtksourceview::SOURCE_BRACKET_MATCH_NONE,
  gtksourceview::SOURCE_BRACKET_MATCH_OUT_OF_RANGE,
  gtksourceview::SOURCE_BRACKET_MATCH_NOT_FOUND,
  gtksourceview::SOURCE_BRACKET_MATCH_FOUND
}
 

Describes result of matching brackets.

More...
enum gtksourceview::SourceCompletionActivation {
  gtksourceview::SOURCE_COMPLETION_ACTIVATION_NONE = 0x0,
  gtksourceview::SOURCE_COMPLETION_ACTIVATION_INTERACTIVE = 1 << 0,
  gtksourceview::SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED = 1 << 1
}
 

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

More...
enum gtksourceview::SourceSmartHomeEndType {
  gtksourceview::SOURCE_SMART_HOME_END_DISABLED,
  gtksourceview::SOURCE_SMART_HOME_END_BEFORE,
  gtksourceview::SOURCE_SMART_HOME_END_AFTER,
  gtksourceview::SOURCE_SMART_HOME_END_ALWAYS
}
 

Defines a behaviour of smart Home/End keys.

More...
enum gtksourceview::SourceDrawSpacesFlags {
  gtksourceview::SOURCE_DRAW_SPACES_SPACE = 1 << 0,
  gtksourceview::SOURCE_DRAW_SPACES_TAB = 1 << 1,
  gtksourceview::SOURCE_DRAW_SPACES_NEWLINE = 1 << 2,
  gtksourceview::SOURCE_DRAW_SPACES_NBSP = 1 << 3 ,
  gtksourceview::SOURCE_DRAW_SPACES_ALL = 0x7F
}
 

Determines what kind of whitespaces whould be drawn.

More...

Enumeration Type Documentation

Describes result of matching brackets.

Since gtksourceviewmm 3.0:
Enumerator:
SOURCE_BRACKET_MATCH_NONE 

There was no bracket to match.

SOURCE_BRACKET_MATCH_OUT_OF_RANGE 

Matching a bracket failed because the maximum range was reached.

SOURCE_BRACKET_MATCH_NOT_FOUND 

A matching bracket was not found.

SOURCE_BRACKET_MATCH_FOUND 

A matching bracket was found.

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

Since gtksourceviewmm 2.10:
Bitwise operators:
SourceCompletionActivation operator|(SourceCompletionActivation, SourceCompletionActivation)
SourceCompletionActivation operator&(SourceCompletionActivation, SourceCompletionActivation)
SourceCompletionActivation operator^(SourceCompletionActivation, SourceCompletionActivation)
SourceCompletionActivation operator~(SourceCompletionActivation)
SourceCompletionActivation& operator|=(SourceCompletionActivation&, SourceCompletionActivation)
SourceCompletionActivation& operator&=(SourceCompletionActivation&, SourceCompletionActivation)
SourceCompletionActivation& operator^=(SourceCompletionActivation&, SourceCompletionActivation)
Enumerator:
SOURCE_COMPLETION_ACTIVATION_NONE 

None.

SOURCE_COMPLETION_ACTIVATION_INTERACTIVE 

Interactive activation.

SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED 

User requested activation.

For example through a keyboard accelerator from the view.

Determines what kind of whitespaces whould be drawn.

Bitwise operators:
SourceDrawSpacesFlags operator|(SourceDrawSpacesFlags, SourceDrawSpacesFlags)
SourceDrawSpacesFlags operator&(SourceDrawSpacesFlags, SourceDrawSpacesFlags)
SourceDrawSpacesFlags operator^(SourceDrawSpacesFlags, SourceDrawSpacesFlags)
SourceDrawSpacesFlags operator~(SourceDrawSpacesFlags)
SourceDrawSpacesFlags& operator|=(SourceDrawSpacesFlags&, SourceDrawSpacesFlags)
SourceDrawSpacesFlags& operator&=(SourceDrawSpacesFlags&, SourceDrawSpacesFlags)
SourceDrawSpacesFlags& operator^=(SourceDrawSpacesFlags&, SourceDrawSpacesFlags)
Enumerator:
SOURCE_DRAW_SPACES_SPACE 

Whether the space character should be drawn.

SOURCE_DRAW_SPACES_TAB 

Whether the tab character should be drawn.

SOURCE_DRAW_SPACES_NEWLINE 

Whether the line breaks should be drawn.

SOURCE_DRAW_SPACES_NBSP 

Whether the non-breaking whitespaces should be drawn.

SOURCE_DRAW_SPACES_ALL 

Whether all kind of whitespaces should be drawn.

Defines a behaviour of smart Home/End keys.

Enumerator:
SOURCE_SMART_HOME_END_DISABLED 

Smart-home-end disabled.

SOURCE_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.

SOURCE_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.

SOURCE_SMART_HOME_END_ALWAYS 

Always move to the first/last non-whitespace character when the HOME/END keys are pressed.