extern GPrivate *glk_data_key;
static gboolean chimara_style_initialized = FALSE;
+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);
/**
* glk_set_style:
gchar *tag_name = get_tag_name(styl);
/* Iterate over all the window and update their styles if nessecary */
- winid_t win = glk_window_iterate(NULL, NULL);
- while(win != NULL) {
+ winid_t win;
+ for(win = glk_window_iterate(NULL, NULL); win; win = glk_window_iterate(win, NULL)) {
if(wintype != wintype_TextBuffer)
continue; /* FIXME: add support for text grid windows */
{
return styl1 != styl2;
}
+
+glui32
+glk_style_measure(winid_t win, glui32 styl, glui32 hint, glui32 *result)
+{
+ return FALSE;
+}