gtksourceview r1279 - in branches/soc-2006: . gtksourceview gtksourceview/language-specs



Author: muntyan
Date: 2007-02-10 17:53:20 +0000 (Sat, 10 Feb 2007)
New Revision: 1279
ViewCVS link: http://svn.gnome.org/viewcvs/gtksourceview?rev=1279&view=rev

Modified:
   branches/soc-2006/ChangeLog
   branches/soc-2006/gtksourceview/gtksourcecontextengine.c
   branches/soc-2006/gtksourceview/gtksourcecontextengine.h
   branches/soc-2006/gtksourceview/gtksourcelanguage-parser-1.c
   branches/soc-2006/gtksourceview/gtksourcelanguage-parser-2.c
   branches/soc-2006/gtksourceview/gtksourcestylemanager.c
   branches/soc-2006/gtksourceview/language-specs/language2.rng
Log:
2006-02-10  Yevgen Muntyan  <muntyan tamu edu>

	* gtksourceview/gtksourcecontextengine.h: renamed once again
        GtkSourceContextMatchOptions to GtkSourceContextFlags,
        added GTK_SOURCE_CONTEXT_STYLE_INSIDE flag which means context
        style should not be applied to its start and end matches.
	* gtksourceview/gtksourcecontextengine.c:
        (apply_tags), (apply_sub_patterns): use the STYLE_INSIDE flag;
        (idle_worker), (first_update_callback): use gdk_threads_enter/leave
        in idle callbacks;
        (gtk_source_context_engine_attach_buffer): mark whole buffer as
        invalid when attaching engine.
	* gtksourceview/gtksourcelanguageparser-1.c: (fix_pattern): escape
        slashes.
	* gtksourceview/gtksourcelanguageparser-2.c:
        (get_context_flags): use and parse STYLE_INSIDE option;
        (ParserState), (lang_id_is_already_loaded), (handle_language_element),
        (parser_state_new): use hash table instead of list of loaded languages;
        (parse_style), (map_style): removed map_style(), it was broken and
        didn't do anything useful for styles mapping, which yet has to be fixed;
	* gtksourceview/gtksourcestylemanager.c: removed commented out
        gtk_source_style_manager_add_scheme().
	* gtksourceview/language-specs/language2.rng: added style-inside attribute.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]