Commit Graph

7 Commits (c55731d6da311f637c3eac731b2ce511929924b8)

Author SHA1 Message Date
Yevgen Muntyan 49ac2ab247 Removed automake.lang, added some stuff in def.lang 2006-08-29 00:08:18 -05:00
Yevgen Muntyan b5825f26a1 Synced with upstream
2006-08-27  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/language-specs/automake.lang,
	gtksourceview/language-specs/check.sh,
	gtksourceview/language-specs/Makefile.am: new lang file for
	Makefile.am.
	* gtksourceview/language-specs/c.lang: override style for
	line-continue in macros; use def:string context.
	* gtksourceview/language-specs/def.lang: renamed 'c-style-escape'
	to 'escape', it's not really 'C style';
	added 'escape' style to 'line-continue' context;
	added 'string' and 'single-quoted-string' contexts.
	* gtksourceview/language-specs/javascript.lang: replaced
	def:c-style-escape with def:escape.
	* gtksourceview/language-specs/language2.rng: added optional
	style-ref and ignore-style attributes to <context ref=""> tags.
	* gtksourceview/gtksourcecontextengine.[ch],
	gtksourceview/gtksourcelanguage-parser-2.c: made it possible to
	override style from referenced context:
	<context ref="some-context" style-ref="some-style"> means "use
	context some-context with style some-style", and ignore-style
	attribute means "use no style in this context".

2006-08-27  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/language-specs/Makefile.am: install style scheme into
	$prefix/gtksourceview-2.0/styles dir.
	* gtksourceview/gtksourcecontextengine.c: fixed subpatterns handling
	(subpatterns tags were applied randomly);
	made high-priority one-time idle called more often, which hopefully
	make it look nicer;
	(gtk_source_context_engine_update_highlight): highlight as much as possible
	even if some part of requested area is not analyzed yet.
	* gtksourceview/gtksourcelanguage-parser-2.c: fixed two leaks.
	* gtksourceview/gtksourcelanguagesmanager.c,
	gtksourceview/gtksourcestylescheme.h,
	gtksourceview/gtksourceview.c: _gtk_source_style_scheme_get_default() -
	temporary workaround for no-builtin-scheme thing.
2006-08-27 19:11:56 -05:00
Yevgen Muntyan 17f35eb679 Match floats before decimals 2006-08-27 04:36:06 -05:00
Yevgen Muntyan 5ef5c558a9 typedef is a keyword, not a type 2006-08-26 18:23:51 -05:00
Yevgen Muntyan ee2dea7d75 GtkSourceView highlighting engine 2006-08-26 04:46:29 -05:00
Yevgen Muntyan 14d3defbc1 Merging syntax-hl branch -r 493:683 into the trunk 2005-10-13 14:08:18 +00:00
Yevgen Muntyan b26546872f Initial import 2005-06-22 18:20:32 +00:00