Commit Graph

152 Commits (f6387fc5c33bc3789248998e980ed50975390797)

Author SHA1 Message Date
Yevgen Muntyan db21c860c9 Added line-comment attribute 2006-12-03 02:22:08 -06:00
Yevgen Muntyan c473136f58 Converted perl.lang to new format 2006-12-03 02:21:56 -06:00
Yevgen Muntyan 6d9ecbc5f8 # starts comment only after non-word character 2006-12-03 01:47:13 -06:00
Yevgen Muntyan c32423e2f0 Highlight escaped characters 2006-12-03 01:46:46 -06:00
Yevgen Muntyan bfdcef8b07 Added def:specials 2006-11-12 20:36:08 -06:00
Yevgen Muntyan 25f202ee2f += 2006-11-12 17:24:59 -06:00
Yevgen Muntyan ed9bfad154 Added globs 2006-11-12 13:09:52 -06:00
Yevgen Muntyan 6b2fd1a43e Added globs 2006-11-09 05:03:56 -06:00
Yevgen Muntyan 5f2f95daeb Do not use globs with [] 2006-11-09 04:59:21 -06:00
Yevgen Muntyan a1d3b5a91b Added globs 2006-11-06 08:38:11 -06:00
Yevgen Muntyan aaf3644b83 Renamed _m_* functions 2006-11-03 23:57:57 -06:00
Yevgen Muntyan 7786784903 gap.lang; reverted makefile.lang and sh.lang 2006-11-02 00:43:24 -06:00
Yevgen Muntyan 26c9510054 Use new metadata tag; use def:escape and def:line-continue 2006-10-20 02:02:38 -05:00
Yevgen Muntyan b27e5615d6 Saving before reverting 2006-10-19 09:20:39 -05:00
Yevgen Muntyan dbb1958e56 Upstream changes: mime types and stuff moved to properties 2006-10-02 01:16:17 -05:00
Yevgen Muntyan fed6c4c098 Upstream changes: mime types and stuff moved to properties 2006-10-02 01:15:27 -05:00
Yevgen Muntyan 3c471df7a3 Better shell highlighting, use def.lang in m4.lang 2006-09-27 19:36:34 -05:00
Yevgen Muntyan 4d2bae8c72 Use C++ highlighting for C headers 2006-09-26 14:45:48 -05:00
Yevgen Muntyan 9825a62907 Renamed kde theme to "Kate" 2006-09-26 14:45:13 -05:00
Yevgen Muntyan 65ca899745 Removed globs from lang files 2006-09-06 21:06:32 -05:00
Yevgen Muntyan 8b6ecb7d68 Merged from miln005 2006-09-06 13:13:10 -05:00
Yevgen Muntyan 04b000da6f Renamed sh:line-comment to sh:comment, added m4-comment, the comment starting with dnl 2006-09-06 12:51:04 -05:00
Yevgen Muntyan d445431691 Better error message, better highlighting 2006-09-06 12:25:56 -05:00
Yevgen Muntyan c9a7d02ac1 A bit better lang files 2006-09-04 01:04:29 -05:00
Yevgen Muntyan 8567fa58e4 Better lang files 2006-09-03 22:09:51 -05:00
Yevgen Muntyan beed8585d7 Synced with upstream:
2006-09-03  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/gtksourcecontextengine.c:
	commented UPDATE_PRIORITY and UPDATE_TIME_SLICE constants;
	made CHECK_* macros and made corresponding function names lowercase;
	Removed some XXX comments, changed some FIXME's.
	* gtksourceview/gtksourcelanguage-parser-1.c:
	(build_keyword_list): removed keyword number limit and added a TODO there;
	removed language_strconvescape; removed old commented out code;
	(_gtk_source_language_file_parse_version1): check lang file version in
	* gtksourceview/gtksourcelanguage-parser-2.c:
	(create_definition): added a TODO about big keyword lists;
	removed old commented out code.
	* gtksourceview/gtksourcestylescheme.c: replaced XXX with FIXME (more
	informative one).
	* gtksourceview/gtktextregion.c,
	 gtksourceview/gtktextregion.h: removed gtk_text_region_subtract_region,
	it's not needed anymore.

2006-09-03  Yevgen Muntyan  <muntyan@tamu.edu>

	* gtksourceview/gtksourcecontextengine.c,
	gtksourceview/gtksourcelanguage-parser-1.c
	gtksourceview/gtksourcelanguage-parser-2.c
	gtksourceview/gtksourcelanguage.c
	gtksourceview/gtksourcelanguagesmanager.c
	gtksourceview/gtksourcestyle.c
	gtksourceview/gtksourcestylescheme.c: do if (ptr != NULL) and
	if (ptr == NULL) instead of if (ptr) and if (!ptr), to please
	maintainers who are afraid of using pointers in boolean contexts.
2006-09-03 17:59:59 -05:00
Yevgen Muntyan b713f5c505 Use :* when including contexts 2006-09-02 04:01:01 -05:00
Yevgen Muntyan c3d6963ff6 Strings end at line end 2006-09-02 02:26:38 -05:00
Yevgen Muntyan 47353c6ae7 "union" is a keyword 2006-09-02 02:26:21 -05:00
Yevgen Muntyan fbc3280d7e Continuing output filter stuff 2006-09-01 12:37:47 -05:00
Yevgen Muntyan 9507592658 Mismatched bracket color 2006-09-01 03:49:08 -05:00
Yevgen Muntyan a1f6fd445f Removed default styles which do not make sense for most languages such as def:preprocessor; added use-style attribute to styles in style schemes 2006-09-01 03:46:43 -05:00
Yevgen Muntyan 4d37da1536 Better styles for latex 2006-08-31 10:21:18 -05:00
Yevgen Muntyan 0229d59cd1 Do not use comment style for math stuff 2006-08-31 01:26:13 -05:00
Yevgen Muntyan 3b05ab17ac More lang files 2006-08-31 00:34:59 -05:00
Yevgen Muntyan 55df4f1823 Handle zero-length segments properly 2006-08-29 04:36:40 -05:00
Yevgen Muntyan 49ac2ab247 Removed automake.lang, added some stuff in def.lang 2006-08-29 00:08:18 -05:00
Yevgen Muntyan 37f67cc758 Changelog lang file 2006-08-28 23:27:37 -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 7082d17f76 Do not overwrite old files. 2006-08-26 19:14:18 -05:00
Yevgen Muntyan e0c326682c Sripts to convert old lang files 2006-08-26 19:02:38 -05:00
Yevgen Muntyan 0971cb441f first-line-only and shebang 2006-08-26 18:24:54 -05:00
Yevgen Muntyan 7364b6f03e Added shebang rule 2006-08-26 18:24:10 -05:00
Yevgen Muntyan 5ef5c558a9 typedef is a keyword, not a type 2006-08-26 18:23:51 -05:00
Yevgen Muntyan 23c0c2d90c Yacc lang file 2006-08-26 06:17:24 -05:00
Yevgen Muntyan f7cd81d5a6 Use "true" instead of "1" 2006-08-26 06:17:13 -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 ae94ec90f0 Removed "Punctuators" 2005-07-29 15:33:49 +00:00
Yevgen Muntyan b87a050f78 Made MooPrefs use xml file format; started MooEditFileMgr for recent files and file filters 2005-07-28 19:25:10 +00:00
Yevgen Muntyan b26546872f Initial import 2005-06-22 18:20:32 +00:00