Commit Graph

252 Commits

Author SHA1 Message Date
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
Pavel Roskin
cb49475a4d * syntax/Syntax: Associate *.itcl with tcl.syntax.
* syntax/tcl.syntax: Add itcl keywords, other improvements.
2002-07-16 04:24:35 +00:00
Pavel Roskin
1b5fdb4a33 * syntax/tcl.syntax: New file.
* syntax/Syntax: Add tcl.syntax.
* syntax/Makefile.am: Likewise.
* syntax/java.syntax: Don't treat #define separately from other
preprocessor directives.
* syntax/slang.syntax: Likewise.
* syntax/swig.syntax: Likewise.
2002-07-10 19:56:11 +00:00
Pavel Roskin
3f02ae47e8 * syntax/c.syntax: Don't treat #define separately from other
preprocessor directives.
2002-07-09 16:51:15 +00:00
Pavel Roskin
dc0e4bf58a * syntax/perl.syntax: Highlight text after __END__ as a comment.
* syntax/po.syntax: Avoid gray color, which is hard to see.
2002-07-08 21:25:42 +00:00
Pavel Roskin
2854f6aebe * syntax/dos.syntax: Add more commands. 2002-07-05 16:18:14 +00:00
Pavel Roskin
99a8519d81 Remove space in pattern for dos.syntax entry. 2002-07-05 03:58:35 +00:00
Pavel Roskin
ee328658a6 * syntax/dos.syntax: New file - highlighting for DOS batch
files.  From Petr Kozelka <pkozelka@centrum.cz>
* syntax/Syntax: Add dos.syntax.
* syntax/Makefile.am: Likewise.
2002-06-25 01:04:08 +00:00
Pavel Roskin
89c15551b2 * syntax/php.syntax: New version. 2002-06-04 15:31:40 +00:00
Andrew V. Samoilov
6fd3330f37 * syntax/Syntax: Replace ^Syntax$ with [Ss]yntax$ and add
first line regular expression.
2002-03-27 15:35:52 +00:00
Andrew V. Samoilov
6b6a850816 * syntax/Syntax: Match ^Syntax$ for Syntax Highlighting. 2002-03-22 08:46:53 +00:00
Andrew V. Samoilov
a2bd191696 * syntax/c.syntax: Highlight "%p" printf format.
Allow '*' as width and precision for strings and numbers.
2002-03-21 08:01:14 +00:00
Pavel Roskin
764730910e * syntax/Syntax: Known Delphi/Kylix source file extensions
supported (*.dpr, *.inc).
* syntax/pascal.syntax: Many new (Delphi/Kylix) keywords added.
Special highlighting of CVS macros.  Understands single-line
comments (//).
2002-01-28 22:37:36 +00:00
Pavel Roskin
e97b30ad04 * syntax/xml.syntax: New file - hightlighting for XML.
From Petr Kozelka <pkozelka@centrum.cz>
* syntax/Syntax: Add xml.syntax.
* syntax/Makefile.am: Likewise.
2002-01-11 05:51:32 +00:00
Pavel Roskin
5062e120a5 * syntax/sh.syntax: Highlight reserved words inside backticks.
Use the same wholechars settings for reserved words and
commands.  Recognize more words.  Recognize function definitions
without "function" or without "()".  Use brightmagenta instead
of brightblue.
2001-10-19 07:37:49 +00:00
Pavel Roskin
419a1aa3dc * syntax/php.syntax: Replace with a better implementation by
Max Schedriviy <max@tavrida.net>
2001-09-19 04:52:47 +00:00
Pavel Roskin
fad8bcf073 * syntax/Syntax: New file, extracted from edit/syntax.c.
* syntax/Makefile.am: Add Syntax.
2001-09-11 21:42:13 +00:00
Pavel Roskin
7a9716e6a9 * syntax/php.syntax: New file - PHP file highlighting. Copied
from Cooledit 3.17.4.
* syntax/Makefile.am: Add php.syntax.
2001-09-06 05:29:07 +00:00
Pavel Roskin
4d3dbca660 * syntax/changelog.syntax: Fix highlighting of functions. Relax
strictness for dates.
2001-09-05 01:50:02 +00:00
Pavel Roskin
3fe54a54a0 * syntax/sh.syntax: Require two '<' before EOF. Recognize END
like EOF.
2001-08-28 08:11:05 +00:00
Pavel Roskin
b8e5a09b30 * syntax/changelog.syntax: Don't require '@' to be in the
address.  This also works around a bug in the syntax engine
that prevented highlighting of addresses.
2001-08-26 08:14:27 +00:00
Pavel Roskin
d262beb82a * syntax/po.syntax: New file - PO file highlighting.
From David Martin <dmartina@excite.es>
* syntax/Makefile.am: Add po.syntax.
2001-08-17 14:23:47 +00:00
Pavel Roskin
61128e5858 * syntax/slang.syntax: New file.
From Walery Studennikov <despair@sama.ru>
* syntax/Makefile.am: Add slang.syntax.
2001-07-29 14:49:18 +00:00
Pavel Roskin
59d332e0d9 * gtkedit/syntax.c (syntax_text): Add support for Octave files.
* syntax/octave.syntax: New file. From Walery Studennikov.
* syntax/Makefile.am: Add octave.syntax.
2001-05-26 22:40:09 +00:00
Pavel Roskin
2977f95a1f * syntax/changelog.syntax: Require space after asterisk to have
it highlighted.
2001-03-07 21:10:29 +00:00
Pavel Roskin
fe79f3e017 More files to ignore 2000-08-24 22:28:49 +00:00
Pavel Roskin
28fbbcf3cd Fixed "make dist" 2000-08-24 16:42:43 +00:00
Pavel Roskin
4f06791b5f * syntax/Makefile.in: converted to ...
* syntax/Makefile.am: ... this
2000-08-24 16:40:44 +00:00
Pavel Roskin
9ae68cd8bc * Makefile.in, */Makefile.in: Fail if $(RMF) fails - it may
indicate serious problems. Fixes for uninstall.
* doc/Makefile.in: Rebuild if it is out of date.
2000-08-15 16:56:33 +00:00
Pavel Roskin
117d12864d * syntax/diff.syntax: Highlight lines beginning with "File",
"Files" and "Binary"
        * syntax/makefile.syntax: Highlight "ifndef"
        * syntax/sh.syntax: Don't highlight "basnemae" ("basename" is
        highlighted)
2000-05-31 03:29:31 +00:00
Timur Bakeyev
5a05c13a07 2000-04-14 Timur Bakeyev <mc@bat.ru>
* syntax/perl.syntax: According to Tomasz Wegrzanovski <maniek@beer.com>
	added 'and', 'or', 'not', 'for' keywords.
2000-04-14 01:20:46 +00:00
Paul Sheer
0c4d1838cf removes `brightwhite' from syntax files 2000-02-25 13:43:41 +00:00
Pavel Roskin
6521c7afbd * gtkedit/syntax.c: treat *.ads as Ada source
* syntax/ada95.syntax: escape "+" and "*"
        * syntax/diffc.syntax: removed (obsoleted by diff.syntax)
        * syntax/Makefile.in: remove diffc.syntax
2000-02-25 05:24:30 +00:00
Paul Sheer
cbb0435c9e syntax file updates and fixes. addition of fortran syntax file 2000-02-18 11:13:10 +00:00
Elliot Lee
0bd6d7504a Have 'make dist' work with builddir != srcdir. 1999-08-19 20:17:40 +00:00
Miguel de Icaza
f503de5232 1999-07-27 Federico Mena Quintero <federico@nuclecu.unam.mx>
* syntax/Makefile.in (ALLSYNTAX): Added the missing syntax files
	to the list.
1999-07-27 23:07:05 +00:00
Paul Sheer
dfafd0e6fc bug fixes in syntax rules 1999-07-21 20:14:08 +00:00
Paul Sheer
dc4aa96d37 syntax rule updates for mcedit - reflects cooledit 3.11.6 1999-07-21 19:56:42 +00:00
Paul Sheer
2aa5dddc8f added new syntax rules for mcedit 1999-07-21 19:55:50 +00:00
Paul Sheer
65e191ed02 added new syntax highlighting rules for mcedit 1999-07-21 19:54:02 +00:00
Kjartan Maraas
1e0c240e49 1999-05-31 Kjartan Maraas <kmaraas@online.no>
* .cvsignore: added this and put Makefile in it.
1999-05-31 19:15:28 +00:00
Timur Bakeyev
196eeed2f8 Makefile.in, as requested.. 1999-03-21 22:44:09 +00:00
Paul Sheer
1dc5e859a4 *** empty log message *** 1999-03-21 02:10:04 +00:00
Paul Sheer
ec66f5e6ab syntax rules now seperated out into these files 1999-03-21 02:02:08 +00:00