Commit Graph

240 Commits

Author SHA1 Message Date
Patrick Winnertz
29b2570d1e Merge branch 'mc-4.6' 2009-01-09 19:45:20 +01:00
Patrick Winnertz
9d8ea1355e Applied sh.syntax enhancement. Thanks to Michelle Konzack for writing this 2009-01-09 19:44:23 +01:00
Patrick Winnertz
0187696480 Syntax highlighting for procmail files 2009-01-06 20:32:44 +01:00
Patrick Winnertz
213b0f6abc Add debian syntax highlightion for specific files 2009-01-06 20:24:30 +01:00
Patrick Winnertz
049079c681 Add patch (rev2) from ticket #65 2009-01-05 17:10:54 +01:00
Patrick Winnertz
d07b3489b8 Add patch file which is attached to the ticket #16,
Please comment
2009-01-05 17:04:11 +01:00
Patrick Winnertz
dcd57a34ef Removed .cvsignore files as we don't need them any longer 2009-01-05 16:58:44 +01:00
Pavel Tsekov
3c4c1b9fc7 * syntax/Syntax: Enable syntax highlighting for .hpp files. 2007-11-02 14:10:27 +00:00
Pavel Tsekov
767982df31 * syntax/d.syntax: Add support for highlighting D language source files.
* syntax/Syntax: Likewise.
* syntax/Makefile.am: Likewise.
2007-08-27 06:56:47 +00:00
Pavel Tsekov
91dcf2be2b * syntax/tcl.syntax: 2007-08-23 15:04:16 +00:00
Roland Illig
30d603ec67 * Syntax: Files that contain "/lua" in the first line are
probably Lua source code.
	* lua.syntax: Comments may also start with "#", at least in the
	first line.
2007-06-08 07:05:23 +00:00
Pavel Roskin
d480dbe0b3 * diff.syntax: Don't use blue background for lines starting with
spaces and tabs.  It stands out too much if the default editor
background is not blue.  Use the default background.  Remove an
obsolete comment.
2007-06-04 22:25:48 +00:00
Roland Illig
2eccdbd045 * lua.syntax: Strings can have embedded \" sequences. 2007-06-01 07:07:45 +00:00
Andrew V. Samoilov
1e3c020481 * syntax/sql.syntax: Add compile, merge, minus, offline, online,
rebuild, replace, truncate and while keywords.
2007-01-23 12:22:32 +00:00
Pavel Tsekov
5d53d99425 * syntax/spec.syntax: Highlight "Requires(phase):" correctly. 2006-09-07 07:31:58 +00:00
Andrew V. Samoilov
bd56912234 * assembler.syntax: Add generic AMD64 registers set. 2006-08-24 03:53:13 +00:00
Pavel Tsekov
861c850cfd * syntax/spec.syntax: Properly recognize case-insensitive tags. 2006-07-14 08:46:58 +00:00
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