Commit Graph

68 Commits

Author SHA1 Message Date
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