Commit Graph

193 Commits

Author SHA1 Message Date
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
Andrew V. Samoilov
e28f9e52f7 Add "linestart" for "spellcheck" and "keyword". Allow whitespace(s) before "context *", "keyword" and "spellcheck" 2002-09-25 13:17:39 +00:00
Pavel Roskin
748e028d05 * */Makefile.am: Replace mclibdir with pkgdatadir to use "share"
directory for architecture-independent files.
2002-09-21 23:49:52 +00:00
Pavel Roskin
93d90d68a4 * syntax/m4.syntax: New file.
* syntax/Syntax: Add m4.syntax.
* syntax/Makefile.am: Likewise.
From Vlad Romanenko <VladRomanenko@ukr.net>
2002-09-19 15:47:49 +00:00
Pavel Roskin
542d4b681a * syntax/sql.syntax: Only recognize non-standard MySQL comments
at the beginning of string.
2002-09-19 13:23:56 +00:00
Andrew V. Samoilov
c4b3002022 * syntax/syntax.syntax: Add "linestart" for "context",
"context default" and "context exclusive" keywords.
* syntax/c.syntax: Fix "%s" highlighting for "%-19s"
and "%5.5s" formats.
2002-09-19 11:09:57 +00:00
Pavel Roskin
43b82434a3 * syntax/Syntax: Remove gobledy_gook at the beginning. Move
rules for syntax files ...
* syntax/syntax.syntax: ... here.  Add "linestart" for "file"
and "include" keywords.
* syntax/Makefile.am: Add syntax.syntax.
2002-09-18 22:25:24 +00:00
Pavel Roskin
08c20906f7 s/highliting/highlighting/ 2002-09-18 15:23:44 +00:00
Pavel Roskin
a670175b2b * syntax/js.syntax: Advanced number highliting. 2002-09-17 22:43:32 +00:00
Pavel Roskin
8aee83616a * syntax/c.syntax: Highlight "?" by the same color as ":".
* syntax/java.syntax: Likewise.
* syntax/swig.syntax: Likewise.
* syntax/python.syntax: Remove duplicate keyword ":".
2002-09-17 22:39:04 +00:00
Pavel Roskin
f5f367c5ed * syntax/Makefile.am: Add js.syntax. 2002-09-17 13:50:30 +00:00
Pavel Roskin
1c08ee7e6b Remove highlighting for percents. It's not HTML, sorry! 2002-09-16 17:03:49 +00:00
Pavel Roskin
60f735e4e3 * syntax/js.syntax: New file.
* syntax/Syntax: Add js.syntax.
From Vlad Romanenko <VladRomanenko@ukr.net>
2002-09-16 16:57:18 +00:00
Andrew V. Samoilov
2b08a6ae73 Add trap and read 2002-09-13 20:59:08 +00:00
Andrew V. Samoilov
c1f0765586 Associate file with "^Index: " in first line with diff.syntax 2002-09-13 19:49:44 +00:00
Pavel Roskin
a78d8d408e * syntax/spec.syntax: New file.
* syntax/Syntax: Add spec.syntax.
* syntax/Makefile.am: Likewise.
From PLD Linux Distribution with minor changes.
2002-08-26 04:38:43 +00:00
Pavel Roskin
0ab6c80efd * syntax/sh.syntax: Fix highlighting of "<<-EOF".
Reported by Andrew V. Samoilov <sav@bcs.zp.ua>
2002-08-16 22:28:13 +00:00
Andrew V. Samoilov
64cb753187 * syntax/sh.syntax: Highlight alias, bg, eval, exec, export, fg,
set, umask and unset like other builtin commands.
2002-08-16 09:17:11 +00:00
Andrew V. Samoilov
d515c5d265 Highlight alias, exec & export. Higlight shift as other builtin commands 2002-08-13 18:54:49 +00:00
Pavel Roskin
02474a4788 Fix extension for lisp files. 2002-08-06 12:59:00 +00:00
Pavel Roskin
5669ebe342 * syntax/list.syntax: New file.
* syntax/Syntax: Add lisp.syntax.
* syntax/Makefile.am: Likewise.
From Mykolas Juraitis <juramyko@soften.ktu.lt> with minor changes.
2002-08-06 12:57:39 +00:00
Pavel Roskin
925cc59229 * syntax/mail.syntax: Colors changed to be more readable.
* syntax/html.syntax: Don't require character entities to be
whole, but check their validity.
2002-08-03 21:00:22 +00:00
Pavel Roskin
4bf0ac48eb * syntax/html.syntax: Don't require character entities to be
whole, but check their validity.
2002-08-03 20:29:00 +00:00
Pavel Roskin
d7f170821b * syntax/html.syntax: Remove recognition for any individual
words - there are too many of them, we cannot keep up.
2002-07-31 16:37:14 +00:00
Pavel Roskin
2a2ff3f76e * syntax/changelog.syntax: Highlight "*" only after tab. This
requires fixed syntax highlighting.
2002-07-28 21:09:45 +00:00
Pavel Roskin
a39e3254cf * syntax/nroff.syntax: Require most keywords to be whole. 2002-07-28 06:21:51 +00:00
Pavel Roskin
aeab4a933e * syntax/fortran.syntax: Fix highlighting of "*" at the
beginning of line.  Recognize "     +" as continuation.  Move
all "linestart" keywords earlier to avoid more conflicts.
2002-07-21 18:15:11 +00:00
Pavel Roskin
bd2e7db466 * syntax/unknown.syntax: Don't highlight anything by default. 2002-07-19 02:58:25 +00:00
Pavel Roskin
cfbf39a89e * syntax/changelog.syntax: Highlight functions without filenames.
* syntax/Syntax: Match *ChangeLog*.
2002-07-18 19:33:27 +00:00
Pavel Roskin
4dbe6133e8 * syntax/c.syntax: Reenable highlighting for "/" and preserve
highlighting for "//" comments by using exclusive context.
* syntax/java.syntax: Likewise.
* syntax/swig.syntax: Likewise.
* syntax/slang.syntax: Reenable highlighting for "/".
* syntax/sql.syntax: Enable highlighting for "/" and "-".
2002-07-18 16:36:52 +00:00
Pavel Roskin
e58ffae223 * syntax/sql.syntax: New file.
* syntax/Syntax: Add sql.syntax.
* syntax/Makefile.am: Likewise.
From Walery Studennikov <despair@sama.ru> with minor changes.
2002-07-18 16:13:28 +00:00