Commit Graph

170 Commits

Author SHA1 Message Date
Leonard den Ottolander
0b52f0032f syntax/php.syntax: Added magic constants. 2006-02-08 14:03:26 +00:00
Roland Illig
58c936715c * xml.syntax: Attribute names only reach upto the next "=", not
further.
2006-01-29 02:46:10 +00:00
Roland Illig
5eca3eb99a * sh.syntax: Only make $_ red if it appears as a whole word.
$_foo is a regular variable.
2006-01-28 09:44:05 +00:00
Leonard den Ottolander
ba902dfa31 * syntax/Makefile.am, syntax/Syntax, syntax/css.syntax: Added css.syntax by
Horvath Peter Aron.
2006-01-27 22:43:38 +00:00
Roland Illig
d795b74525 * sh.syntax: Since $(...) isn't the same as ${...}, don't handle
them the same way. Instead, "$(", "(" and ")" are highlighted in
	bright cyan. Fixes #6415.
2006-01-27 22:17:12 +00:00
Pavel Tsekov
ed780ec9a7 * pascal.syntax: Recognize keywords starting in upper case
as well as all caps keywords.
Highlight the operators `and', `or', `xor', `shl', `shr',
`div' and `mod' in cyan and not white.
Highlight operator `=' in cyan instead of lightgray.
2006-01-27 14:23:37 +00:00
Roland Illig
60d1a87ba7 2005-12-02 Jindrich Novy <jnovy@redhat.com>
* php.syntax: Fixed syntax errors.
2005-12-02 14:37:10 +00:00
Pavel Roskin
e698d44514 * spec.syntax: Add %check highlighting. 2005-11-23 21:12:43 +00:00
Leonard den Ottolander
37dae70964 * syntax/php.syntax: Reset the constant array in the script that generates
the keywords (remove duplicates). Also parse for constants in tables as the
type tagging is done inconsistently in the online PHP docs.
2005-11-20 14:42:01 +00:00
Leonard den Ottolander
ef243502f4 * syntax/php.syntax: Missed the '::' method separator. 2005-11-20 00:17:36 +00:00
Leonard den Ottolander
030872ddc0 * syntax/php.syntax: Removed some cruft that slipped through. 2005-11-20 00:07:56 +00:00
Leonard den Ottolander
41dba7aa2c * syntax/php.syntax: Updated against recent online documentation. A/o many
constants added.
2005-11-19 23:26:34 +00:00
Pavel Roskin
16881947d3 * Syntax: Highlight Kbuild as a makefile. 2005-10-31 21:21:15 +00:00
Pavel Roskin
9932d29be7 * Syntax: Move makefile.syntax before pascal.syntax so that
Makefile.inc is highlighted as a makefile.
2005-10-31 21:13:49 +00:00
Roland Illig
2058b40348 * assembler.syntax: Assembler files may contain comments, too. 2005-09-05 02:07:43 +00:00
Roland Illig
5b02f5a27e * lisp.syntax: Recognize the character sequences \" and \\ in
strings.
2005-08-21 15:00:57 +00:00
Leonard den Ottolander
952464ef81 syntax/syntax.syntax: Keyword brightblue on black background.
syntax/mail.syntax: Added keywords. Removed excessive quoting matches.
2005-07-27 15:56:42 +00:00
Roland Illig
c9ab4e7566 Brackets and braces have a special meaning when used in syntax definition
files.
2005-07-20 11:14:15 +00:00
Roland Illig
ea48e88eea * ada95.syntax: Sorted keywords alphabetically. 2005-07-13 03:34:15 +00:00
Roland Illig
822143b61b Sorted some keywords alphabetically. Removed "sub" context, as it has had
no effect.
2005-07-13 03:29:47 +00:00
Roland Illig
c2ad6b1cd9 * perl.syntax: Added a keyword to detect subroutine prototypes.
Sorted some keywords alphabetically. Added the "warning" pragma.
2005-07-13 03:19:32 +00:00
Roland Illig
3383c003fd * perl.syntax: #! lines are marked as contexts instead of
keywords.
	* sh.syntax: Likewise.
2005-07-12 18:30:54 +00:00
Roland Illig
a5b6014c88 * java.syntax: Cleaned up the header comment. Sorted keywords
alphabetically.
2005-07-05 18:26:45 +00:00
Roland Illig
ce11065fde * html.syntax: Attribute values may also be delimited by single
quotes.
2005-07-05 18:25:31 +00:00
Roland Illig
93402cd8e3 Added a header comment and removed trailing empty lines. 2005-07-05 18:24:04 +00:00
Pavel Roskin
30d67e4bdb makefile.syntax: Add all special targets of GNU make. 2005-07-04 06:33:02 +00:00
Roland Illig
5e9b496c69 * c.syntax: The bit-wise and, or, xor, not operators are
formatted in brightmagenta to make them distinguishable from the
	boolean operators. (This also affects the address-of operator.)
2005-07-03 20:09:29 +00:00
Roland Illig
fb43472e27 * perl.syntax: The inside of qw(...) gets green. 2005-07-03 11:47:07 +00:00
Roland Illig
a5f6af1b98 * octave.syntax: Support for Matlab multi line comments
(starting with '%{' and ending with '%}')
2005-06-16 08:48:20 +00:00
Roland Illig
307df9c13e Added missing entry from May 31 2005. 2005-06-06 15:48:46 +00:00
Roland Illig
c9fa68695e * makefile.syntax: Added rules for BSD style Makefiles. 2005-06-05 23:48:57 +00:00
Roland Illig
70cb15ff0f * Syntax: Added a comment introducing the file format, based on
the current implementation in edit/syntax.c. Changed the
	first-line regular expressions of sh, perl, python and ruby to
	also match @SH@, @PERL@, @PYTHON@ and @RUBY@.
2005-05-24 23:00:36 +00:00
Roland Illig
3eeea2b824 * python.syntax: Added chunk from Savannah bug #7872. This
changes the color for """long strings""" from brown to green and
	adds embedded highlighting for escape sequences.
2005-05-24 09:50:47 +00:00
Roland Illig
f9f0051c39 * Syntax: Extended the patterns for #! interpreters to match
almost everything that looks like the interpreter.
2005-05-24 09:38:27 +00:00
Roland Illig
a3d00ca079 Added empty ChangeLog file. 2005-05-24 09:36:40 +00:00
Roland Illig
7b17421a43 * syntax/makefile.syntax: Added useful comments before the
contexts.
2005-05-15 00:09:15 +00:00
Roland Illig
cf4c046bf9 * syntax/makefile.syntax: Highlight $$ (a literal $) in
brightcyan. This way $${var} is not highlighted as if it were a
	Makefile variables.
2005-05-15 00:02:06 +00:00
Roland Illig
455b0d006e * syntax/diff.syntax: Lines starting with a <tab> character are
displayed like lines starting with a <space>. This is for the
	cvs diff -T option.
2005-05-14 11:30:54 +00:00
Roland Illig
419025e926 * syntax/c.syntax: Added missing punctuation characters. 2005-05-01 14:21:02 +00:00
Pavel Roskin
bf7853c225 * syntax/Syntax: Don't highlight csh scripts. Allow using
"/usr/bin/env" instead of the full path.
2005-04-28 19:44:49 +00:00
Leonard den Ottolander
c774c5b4a7 Syntax fixes (eiffel, perl, php, syntax). 2005-04-16 23:53:28 +00:00
Leonard den Ottolander
6108289e48 Catch Makefiles with capitals in extension. 2005-04-14 21:34:13 +00:00
Andrew V. Samoilov
7b01ca4626 * syntax/idl.syntax: Add syntax file for the CORBA idl.
* syntax/lua.syntax: Add syntax file for the LUA programming language.
        * syntax/Syntax: Add syntax file for CORBA idl and lua.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-19 17:41:32 +00:00
Andrew V. Samoilov
bfc10386c3 * syntax/assembler.syntax: Add syntax file for the x86 assembler.
* syntax/povray.syntax: Add syntax file for the POVRay.
        * syntax/Syntax: Add syntax file for x86 assembler and POVRay.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-19 14:59:39 +00:00
Andrew V. Samoilov
eadb04b532 * syntax/assembler.syntax: Add syntax file for the x86 assembler.
* syntax/povray.syntax: Add syntax file for the POVRay.
        * syntax/Syntax: Add syntax file for x86 assembler and POVRay.
        * syntax/Makefile.am: Likewise.
        * mc.qpg.in: Likewise.
        * NEWS: Likewise.
2005-03-18 10:26:35 +00:00
Roland Illig
14cf1c7673 * syntax/diff.syntax: Changed default color from gray, which was
quite unreadable, to a bright yellow.

	Patch by Leonard den Ottolander.
2005-03-14 00:12:27 +00:00
Andrew V. Samoilov
d94ff42371 * syntax/spec.syntax: Set whole on spec macro option keywords. 2004-12-28 13:22:27 +00:00
Roland Illig
88812bee22 * syntax/Makefile.am: Don't install syntax highlighting files if
the internal editor is disabled.
2004-12-06 23:14:43 +00:00
Andrew V. Samoilov
8700126200 Add wait 2004-12-02 10:47:14 +00:00
Andrew V. Samoilov
3b8d52e2b9 * syntax/Syntax: Treat QNX6 specific files with extensions qpg and
qpg.in as xml files.
2004-11-03 20:16:48 +00:00