-static gboolean style_accept(GScanner *scanner, GTokenType token);
-static gboolean style_accept_style_identifier(GScanner *scanner);
-static gboolean style_accept_style_hint(GScanner *scanner, GtkTextTag *current_tag);
-static void style_add_tag_to_textbuffer(gpointer key, gpointer tag, gpointer tag_table);
+
+static const gchar* TAG_NAMES[] = {
+ "normal",
+ "emphasized",
+ "preformatted",
+ "header",
+ "subheader",
+ "alert",
+ "note",
+ "block-quote",
+ "input",
+ "user1",
+ "user2"
+};
+
+typedef struct StyleSet {
+ GHashTable *text_grid;
+ GHashTable *text_buffer;
+} StyleSet;