Commit Graph

90 Commits

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