* syntax/aspx.syntax: Add syntax file for ASP.NET.

* syntax/Syntax: Likewise.
        * syntax/Makefile.am: Likewise.
This commit is contained in:
Andrew V. Samoilov 2004-10-27 13:29:51 +00:00
parent dc2430bd45
commit 121dbd2b1b
4 changed files with 59 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-10-27 Juan C. Olivares <juancri@juancri.com>
* syntax/aspx.syntax: Add syntax file for ASP.NET.
* syntax/Syntax: Likewise.
* syntax/Makefile.am: Likewise.
2004-10-27 Pavel S. Shirshov <me@pavelsh.pp.ru>
* TODO: Move entry 'Broken pipe warning...' to 4.6.2 TODO list.

View File

@ -3,6 +3,7 @@ syntaxdir = $(pkgdatadir)/syntax
syntax_DATA = \
Syntax \
ada95.syntax \
aspx.syntax \
c.syntax \
cs.syntax \
changelog.syntax \

View File

@ -89,6 +89,9 @@ include cs.syntax
file ..\*\\.(js|JS)$ JavaScript\sProgram
include js.syntax
file ..\*\\.(asax|aspx|ascx|asmx|ashx)$ ASPX\sFile
include aspx.syntax
file ..\*\\.st$ SmallTalk\sProgram
include smalltalk.syntax

49
syntax/aspx.syntax Normal file
View File

@ -0,0 +1,49 @@
# ASP.NET syntax highlighting
#
# Author: Juan C. Olivares <juancri@juancri.com>
# http://www.juancri.com
context default
keyword "*" lightgray
keyword '*' lightgray
spellcheck
context <!-- --> brightgreen
spellcheck
context <! > yellow
keyword '+' brightcyan
keyword "+" brightcyan
keyword \( lightgray
keyword \) lightgray
keyword \* lightgray
keyword \? lightgray
keyword \+ lightgray
keyword \| lightgray
keyword \, lightgray
spellcheck
context <% %> brightgreen
keyword Application white
keyword Assembly white
keyword Control white
keyword Implements white
keyword Import white
keyword Inherits white
keyword OutputCache white
keyword Page white
keyword Reference white
keyword Register white
keyword WebService white
keyword \s+\= yellow
keyword '*' brightcyan
keyword "*" brightcyan
spellcheck
context < > white
keyword \s+\= yellow
keyword "server" brightgreen
keyword '*' brightcyan
keyword "*" brightcyan
spellcheck