Commit Graph

223 Commits

Author SHA1 Message Date
Pavel Tsekov
9acf68c307 * syntax/spec.syntax: Display obsoleted rpm tags in white. 2006-07-13 14:32:58 +00:00
Leonard den Ottolander
09a3e8c853 * c.syntax: Add colouring of labels. 2006-06-22 12:49:24 +00:00
Leonard den Ottolander
10dff51b4c * spec.syntax: Small readability fix. 2006-06-21 15:22:55 +00:00
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
Andrew V. Samoilov
121dbd2b1b * syntax/aspx.syntax: Add syntax file for ASP.NET.
* syntax/Syntax: Likewise.
        * syntax/Makefile.am: Likewise.
2004-10-27 13:29:51 +00:00
Roland Illig
10dbca29ab * syntax/eiffel.syntax: Add syntax highlighting rules for the
Eiffel programming language.
	* syntax/Syntax: Bind *.e with eiffel.syntax.
	* syntax/Makefile.am: Added syntax.eiffel.

	From Daniel F Moisset <dmoisset grulic org ar>
2004-10-16 12:59:26 +00:00
Andrew V. Samoilov
13998a614c * syntax/sql.syntax: Improve sql.syntax file and added several
keywords.
2004-10-12 15:24:47 +00:00
Andrew V. Samoilov
2d48b95137 * syntax/perl.syntax: Fix highlight the hashes.
* syntax/diff.syntax: highlight comments (lines begin with #),
        and garbage in diff files.
2004-10-05 05:56:03 +00:00
Andrew V. Samoilov
c35092fabd * makefile.syntax.diff: adds define and ended keyrowrds
* perl.syntax.diff: adds break keyword
2004-09-17 09:56:47 +00:00
Andrew V. Samoilov
221bb320b8 * syntax/php.syntax: Upgrade php.syntax file. 2004-09-09 21:29:51 +00:00
Andrew V. Samoilov
406beebb47 * syntax/m4.syntax: Add matching AS_* keywords. 2004-08-22 13:23:45 +00:00
Roland Illig
bd00bef955 Bugfix: Properly display diffs of diffs. 2004-08-15 18:14:18 +00:00
Pavel Roskin
b8b0623f5a More keywords from Juan C. Olivares <juancri@juancri.com> 2004-01-23 17:45:04 +00:00
Dmitry Alexeyev
e4d4887e9c Add more keywords. 2003-12-24 07:35:47 +00:00
Dmitry Alexeyev
63cedbc380 Recognize "Url". Allow encoding in summary. 2003-12-24 07:27:23 +00:00
Dmitry Alexeyev
ad7f8af0d8 Remove duplicate mail keyword, added two new keywords.
From Dmitry Alexeyev <dmi_a@qnx.org.ru>
2003-12-24 07:26:11 +00:00
Dmitry Alexeyev
8cfaeb9644 Highlight *.hxx, *.h.in, *.spec.in.
From Dmitry Alexeyev <dmi_a@qnx.org.ru>
2003-12-24 07:24:57 +00:00
Pavel Roskin
29486f10ef Add "our" keyword. 2003-11-03 20:21:16 +00:00
Pavel Roskin
5119a17008 Fixes from "Juan Crist?bal Olivares C." <juancri@TAGnet.org> 2003-09-09 22:50:59 +00:00
Marco Ciampa
debb223eaf Updated ruby and perl sintax files. 2003-05-16 09:35:51 +00:00
Pavel Roskin
615ef181db * syntax/ruby.syntax: New file - syntax for Ruby.
* syntax/Syntax: Add ruby.syntax.
* syntax/Makefile.am: Likewise.
2003-05-14 22:30:02 +00:00
Pavel Roskin
b190930e09 * syntax/Syntax: Highlight *.mc as a makefile.
* syntax/sql.syntax: Add more keywords for PostgreSQL.
2003-03-31 16:27:52 +00:00
Pavel Roskin
7e31c4e83c * syntax/sh.syntax: Highlight "find". Highlight whole string
after "#!".  Make unrecognized text inside `` less bright.
2003-03-22 04:38:58 +00:00
Pavel Roskin
8cf02b5559 * syntax/c.syntax: Allow integer specifiers for %x and %X in C
format strings.
* syntax/cs.syntax: Likewise.
* syntax/java.syntax: Likewise.
* syntax/ml.syntax: Likewise.
* syntax/php.syntax: Likewise.
* syntax/python.syntax: Likewise.
* syntax/slang.syntax: Likewise.
* syntax/swig.syntax: Likewise.
2003-03-15 04:41:19 +00:00
Pavel Roskin
5a3d2c562e * syntax/spec.syntax: Add BuildArch. 2003-03-06 13:48:23 +00:00
Pavel Roskin
fafc7c6365 * syntax/cs.syntax: New file.
* syntax/Syntax: Add cs.syntax.
* syntax/Makefile.am: Likewise.
2003-02-27 21:15:44 +00:00
Pavel Roskin
c8f5d1a7f5 * syntax/syntax.syntax: Highlight "define". 2003-02-26 19:31:07 +00:00
Andrew V. Samoilov
148f864e4e Highlight "time" command. 2003-02-21 09:45:27 +00:00
Pavel Roskin
3cf9a2aabf * syntax/c.syntax: Highlight C++ comments in preprocessor
directives.
Reported by Oswald Buddenhagen <ossi@kde.org>
2003-02-18 08:03:13 +00:00
Pavel Roskin
d8a24ad682 * syntax/Syntax: Match *.syntax before other files to fix
highlighting of makefile.syntax.
2003-02-05 09:43:37 +00:00
Pavel Roskin
620bf270aa * syntax/c.syntax: Revert highlighting trailing whitespaces. 2003-02-05 07:44:49 +00:00
Pavel Roskin
40734f6a14 * syntax/nroff.syntax: Make colors more compatible with the
highlighting used in the internal viewer - yellow for bold and
brightred for italic.
2003-01-31 20:39:33 +00:00
Andrew V. Samoilov
9604cb48c6 * syntax/c.syntax: Highlight trailing whitespace(s). 2003-01-31 13:00:21 +00:00
Pavel Roskin
9e24e41f9e * syntax/perl.syntax: Add separate context for function
declarations and definitions, highlight prototypes.
2002-12-19 21:32:34 +00:00
Pavel Roskin
4a8f3f2c2b Highlight Perl sources with @PERL@ on the first line. 2002-12-13 08:11:25 +00:00
Pavel Roskin
759125c6c7 * syntax/sql.syntax: Add highlighting for dot and backticks. 2002-11-26 21:48:20 +00:00
Andrew V. Samoilov
113eb6f664 * syntax/ada95.syntax: Highlight "then" and "else".
From Victor Porton <porton@ex-code.com>.
Higlight "exit".
2002-11-07 08:37:17 +00:00
Pavel Roskin
e88e193c5e * syntax/diff.syntax: Revert highlighting for trailing spaces
on the added lines - it extends the context to the next line.
2002-10-31 21:58:55 +00:00
Andrew V. Samoilov
1915b99fc0 Highlight trailing whitespace(s) of the inserted lines 2002-10-29 13:52:15 +00:00
Pavel Roskin
bba809f2e9 * syntax/syntax.syntax: Fix highlighting for "gray". 2002-10-02 19:25:48 +00:00
Pavel Roskin
31093df1bc * syntax/mail.syntax: Replace "wholechars right" and "wholechars
left" with single "wholechars".
* syntax/nroff.syntax: Likewise.
* syntax/sh.syntax: Likewise.
* syntax/tcl.syntax: Likewise.
2002-09-29 20:28:41 +00:00
Pavel Roskin
0d82a635b3 * syntax/*.syntax: Remove numeric Cooledit colors. It's
unreasonable to require them to be correct.  On the other hand,
Cooledit can easily be changed to accept named color names.
2002-09-29 20:22:23 +00:00
Pavel Roskin
e27a164ec9 * syntax/syntax.syntax: Don't require Cooledit colors for
highlighting color names.  Remove Cooledit colors.
2002-09-29 20:09:12 +00:00
Pavel Roskin
b8d30f75bb Improve formatting. 2002-09-29 19:55:39 +00:00
Pavel Roskin
0fc184aead Forgot to replace wholeleft with whole after removing
parentheses from the internal macros.
2002-09-29 19:51:53 +00:00
Pavel Roskin
4ad6e7a0cc * syntax/m4.syntax: Don't use yellow color on parentheses, since
it interferes with parentheses highlighting.  Remove list of
supported Autoconf macros.
2002-09-29 19:49:16 +00:00
Pavel Roskin
9cdc12b33d * syntax/syntax.syntax: Remove highlighting for numbers - it's
for Cooledit only.
2002-09-27 04:16:00 +00:00
Pavel Roskin
dee854b21e * syntax/c.syntax: Require at least one space at the beginning
of indented cpp directives.  Use brightmagenta for them.
2002-09-27 04:00:30 +00:00
Pavel Roskin
3e7f74c588 * syntax/syntax.syntax: Don't start keywords with "[" - it
doesn't work.  Use "[]" at the end of keywords to suppress
their special meaning.
2002-09-27 03:33:39 +00:00
Andrew V. Samoilov
de8ccb62fd Allow whitespace(s) before # 2002-09-26 06:20:55 +00:00
Andrew V. Samoilov
30442e7d0b Don't highlight "linstart" 2002-09-25 13:26:06 +00:00