


#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <glib-object.h>
#include "gtksourceversion.h"
#include "gtksourceview-enumtypes.h"


/* enumerations from "gtksourcebuffer.h" */
static const GEnumValue _gtk_source_bracket_match_type_values[] = {
  { GTK_SOURCE_BRACKET_MATCH_NONE, "GTK_SOURCE_BRACKET_MATCH_NONE", "none" },
  { GTK_SOURCE_BRACKET_MATCH_OUT_OF_RANGE, "GTK_SOURCE_BRACKET_MATCH_OUT_OF_RANGE", "out-of-range" },
  { GTK_SOURCE_BRACKET_MATCH_NOT_FOUND, "GTK_SOURCE_BRACKET_MATCH_NOT_FOUND", "not-found" },
  { GTK_SOURCE_BRACKET_MATCH_FOUND, "GTK_SOURCE_BRACKET_MATCH_FOUND", "found" },
  { 0, NULL, NULL }
};

GType
gtk_source_bracket_match_type_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceBracketMatchType", _gtk_source_bracket_match_type_values);

  return type;
}

static const GEnumValue _gtk_source_change_case_type_values[] = {
  { GTK_SOURCE_CHANGE_CASE_LOWER, "GTK_SOURCE_CHANGE_CASE_LOWER", "lower" },
  { GTK_SOURCE_CHANGE_CASE_UPPER, "GTK_SOURCE_CHANGE_CASE_UPPER", "upper" },
  { GTK_SOURCE_CHANGE_CASE_TOGGLE, "GTK_SOURCE_CHANGE_CASE_TOGGLE", "toggle" },
  { GTK_SOURCE_CHANGE_CASE_TITLE, "GTK_SOURCE_CHANGE_CASE_TITLE", "title" },
  { 0, NULL, NULL }
};

GType
gtk_source_change_case_type_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceChangeCaseType", _gtk_source_change_case_type_values);

  return type;
}

static const GFlagsValue _gtk_source_sort_flags_values[] = {
  { GTK_SOURCE_SORT_FLAGS_NONE, "GTK_SOURCE_SORT_FLAGS_NONE", "none" },
  { GTK_SOURCE_SORT_FLAGS_CASE_SENSITIVE, "GTK_SOURCE_SORT_FLAGS_CASE_SENSITIVE", "case-sensitive" },
  { GTK_SOURCE_SORT_FLAGS_REVERSE_ORDER, "GTK_SOURCE_SORT_FLAGS_REVERSE_ORDER", "reverse-order" },
  { GTK_SOURCE_SORT_FLAGS_REMOVE_DUPLICATES, "GTK_SOURCE_SORT_FLAGS_REMOVE_DUPLICATES", "remove-duplicates" },
  { 0, NULL, NULL }
};

GType
gtk_source_sort_flags_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_flags_register_static ("GtkSourceSortFlags", _gtk_source_sort_flags_values);

  return type;
}


/* enumerations from "gtksourcecompletion.h" */
static const GEnumValue _gtk_source_completion_error_values[] = {
  { GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND, "GTK_SOURCE_COMPLETION_ERROR_ALREADY_BOUND", "already-bound" },
  { GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND, "GTK_SOURCE_COMPLETION_ERROR_NOT_BOUND", "not-bound" },
  { 0, NULL, NULL }
};

GType
gtk_source_completion_error_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceCompletionError", _gtk_source_completion_error_values);

  return type;
}


/* enumerations from "gtksourcecompletioncontext.h" */
static const GFlagsValue _gtk_source_completion_activation_values[] = {
  { GTK_SOURCE_COMPLETION_ACTIVATION_NONE, "GTK_SOURCE_COMPLETION_ACTIVATION_NONE", "none" },
  { GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE, "GTK_SOURCE_COMPLETION_ACTIVATION_INTERACTIVE", "interactive" },
  { GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED, "GTK_SOURCE_COMPLETION_ACTIVATION_USER_REQUESTED", "user-requested" },
  { 0, NULL, NULL }
};

GType
gtk_source_completion_activation_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_flags_register_static ("GtkSourceCompletionActivation", _gtk_source_completion_activation_values);

  return type;
}


/* enumerations from "gtksourcefile.h" */
static const GEnumValue _gtk_source_newline_type_values[] = {
  { GTK_SOURCE_NEWLINE_TYPE_LF, "GTK_SOURCE_NEWLINE_TYPE_LF", "lf" },
  { GTK_SOURCE_NEWLINE_TYPE_CR, "GTK_SOURCE_NEWLINE_TYPE_CR", "cr" },
  { GTK_SOURCE_NEWLINE_TYPE_CR_LF, "GTK_SOURCE_NEWLINE_TYPE_CR_LF", "cr-lf" },
  { 0, NULL, NULL }
};

GType
gtk_source_newline_type_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceNewlineType", _gtk_source_newline_type_values);

  return type;
}

static const GEnumValue _gtk_source_compression_type_values[] = {
  { GTK_SOURCE_COMPRESSION_TYPE_NONE, "GTK_SOURCE_COMPRESSION_TYPE_NONE", "none" },
  { GTK_SOURCE_COMPRESSION_TYPE_GZIP, "GTK_SOURCE_COMPRESSION_TYPE_GZIP", "gzip" },
  { 0, NULL, NULL }
};

GType
gtk_source_compression_type_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceCompressionType", _gtk_source_compression_type_values);

  return type;
}


/* enumerations from "gtksourcefileloader.h" */
static const GEnumValue _gtk_source_file_loader_error_values[] = {
  { GTK_SOURCE_FILE_LOADER_ERROR_TOO_BIG, "GTK_SOURCE_FILE_LOADER_ERROR_TOO_BIG", "too-big" },
  { GTK_SOURCE_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED, "GTK_SOURCE_FILE_LOADER_ERROR_ENCODING_AUTO_DETECTION_FAILED", "encoding-auto-detection-failed" },
  { GTK_SOURCE_FILE_LOADER_ERROR_CONVERSION_FALLBACK, "GTK_SOURCE_FILE_LOADER_ERROR_CONVERSION_FALLBACK", "conversion-fallback" },
  { 0, NULL, NULL }
};

GType
gtk_source_file_loader_error_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceFileLoaderError", _gtk_source_file_loader_error_values);

  return type;
}


/* enumerations from "gtksourcefilesaver.h" */
static const GEnumValue _gtk_source_file_saver_error_values[] = {
  { GTK_SOURCE_FILE_SAVER_ERROR_INVALID_CHARS, "GTK_SOURCE_FILE_SAVER_ERROR_INVALID_CHARS", "invalid-chars" },
  { GTK_SOURCE_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED, "GTK_SOURCE_FILE_SAVER_ERROR_EXTERNALLY_MODIFIED", "externally-modified" },
  { 0, NULL, NULL }
};

GType
gtk_source_file_saver_error_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceFileSaverError", _gtk_source_file_saver_error_values);

  return type;
}

static const GFlagsValue _gtk_source_file_saver_flags_values[] = {
  { GTK_SOURCE_FILE_SAVER_FLAGS_NONE, "GTK_SOURCE_FILE_SAVER_FLAGS_NONE", "none" },
  { GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS, "GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_INVALID_CHARS", "ignore-invalid-chars" },
  { GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME, "GTK_SOURCE_FILE_SAVER_FLAGS_IGNORE_MODIFICATION_TIME", "ignore-modification-time" },
  { GTK_SOURCE_FILE_SAVER_FLAGS_CREATE_BACKUP, "GTK_SOURCE_FILE_SAVER_FLAGS_CREATE_BACKUP", "create-backup" },
  { 0, NULL, NULL }
};

GType
gtk_source_file_saver_flags_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_flags_register_static ("GtkSourceFileSaverFlags", _gtk_source_file_saver_flags_values);

  return type;
}


/* enumerations from "gtksourcegutterrenderer.h" */
static const GFlagsValue _gtk_source_gutter_renderer_state_values[] = {
  { GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL, "GTK_SOURCE_GUTTER_RENDERER_STATE_NORMAL", "normal" },
  { GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR, "GTK_SOURCE_GUTTER_RENDERER_STATE_CURSOR", "cursor" },
  { GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT, "GTK_SOURCE_GUTTER_RENDERER_STATE_PRELIT", "prelit" },
  { GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED, "GTK_SOURCE_GUTTER_RENDERER_STATE_SELECTED", "selected" },
  { 0, NULL, NULL }
};

GType
gtk_source_gutter_renderer_state_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_flags_register_static ("GtkSourceGutterRendererState", _gtk_source_gutter_renderer_state_values);

  return type;
}

static const GEnumValue _gtk_source_gutter_renderer_alignment_mode_values[] = {
  { GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL, "GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_CELL", "cell" },
  { GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST, "GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_FIRST", "first" },
  { GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_LAST, "GTK_SOURCE_GUTTER_RENDERER_ALIGNMENT_MODE_LAST", "last" },
  { 0, NULL, NULL }
};

GType
gtk_source_gutter_renderer_alignment_mode_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceGutterRendererAlignmentMode", _gtk_source_gutter_renderer_alignment_mode_values);

  return type;
}


/* enumerations from "gtksourceview.h" */
static const GEnumValue _gtk_source_view_gutter_position_values[] = {
  { GTK_SOURCE_VIEW_GUTTER_POSITION_LINES, "GTK_SOURCE_VIEW_GUTTER_POSITION_LINES", "lines" },
  { GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS, "GTK_SOURCE_VIEW_GUTTER_POSITION_MARKS", "marks" },
  { 0, NULL, NULL }
};

GType
gtk_source_view_gutter_position_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceViewGutterPosition", _gtk_source_view_gutter_position_values);

  return type;
}

static const GEnumValue _gtk_source_smart_home_end_type_values[] = {
  { GTK_SOURCE_SMART_HOME_END_DISABLED, "GTK_SOURCE_SMART_HOME_END_DISABLED", "disabled" },
  { GTK_SOURCE_SMART_HOME_END_BEFORE, "GTK_SOURCE_SMART_HOME_END_BEFORE", "before" },
  { GTK_SOURCE_SMART_HOME_END_AFTER, "GTK_SOURCE_SMART_HOME_END_AFTER", "after" },
  { GTK_SOURCE_SMART_HOME_END_ALWAYS, "GTK_SOURCE_SMART_HOME_END_ALWAYS", "always" },
  { 0, NULL, NULL }
};

GType
gtk_source_smart_home_end_type_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceSmartHomeEndType", _gtk_source_smart_home_end_type_values);

  return type;
}

static const GFlagsValue _gtk_source_draw_spaces_flags_values[] = {
  { GTK_SOURCE_DRAW_SPACES_SPACE, "GTK_SOURCE_DRAW_SPACES_SPACE", "space" },
  { GTK_SOURCE_DRAW_SPACES_TAB, "GTK_SOURCE_DRAW_SPACES_TAB", "tab" },
  { GTK_SOURCE_DRAW_SPACES_NEWLINE, "GTK_SOURCE_DRAW_SPACES_NEWLINE", "newline" },
  { GTK_SOURCE_DRAW_SPACES_NBSP, "GTK_SOURCE_DRAW_SPACES_NBSP", "nbsp" },
  { GTK_SOURCE_DRAW_SPACES_LEADING, "GTK_SOURCE_DRAW_SPACES_LEADING", "leading" },
  { GTK_SOURCE_DRAW_SPACES_TEXT, "GTK_SOURCE_DRAW_SPACES_TEXT", "text" },
  { GTK_SOURCE_DRAW_SPACES_TRAILING, "GTK_SOURCE_DRAW_SPACES_TRAILING", "trailing" },
  { GTK_SOURCE_DRAW_SPACES_ALL, "GTK_SOURCE_DRAW_SPACES_ALL", "all" },
  { 0, NULL, NULL }
};

GType
gtk_source_draw_spaces_flags_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_flags_register_static ("GtkSourceDrawSpacesFlags", _gtk_source_draw_spaces_flags_values);

  return type;
}

static const GEnumValue _gtk_source_background_pattern_type_values[] = {
  { GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE, "GTK_SOURCE_BACKGROUND_PATTERN_TYPE_NONE", "none" },
  { GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID, "GTK_SOURCE_BACKGROUND_PATTERN_TYPE_GRID", "grid" },
  { 0, NULL, NULL }
};

GType
gtk_source_background_pattern_type_get_type (void)
{
  static GType type = 0;

  if (!type)
    type = g_enum_register_static ("GtkSourceBackgroundPatternType", _gtk_source_background_pattern_type_values);

  return type;
}




