1
1

* 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 (//).
Этот коммит содержится в:
Pavel Roskin 2002-01-28 22:37:36 +00:00
родитель 3831458bae
Коммит 764730910e
3 изменённых файлов: 47 добавлений и 18 удалений

Просмотреть файл

@ -1,3 +1,11 @@
2002-01-28 Petr Kozelka <pkozelka@email.cz>
* 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-24 Alexander Shopov <al_shopov@web.bg> 2002-01-24 Alexander Shopov <al_shopov@web.bg>
* configure.in (ALL_LINGUAS): Added "bg" * configure.in (ALL_LINGUAS): Added "bg"

Просмотреть файл

@ -51,7 +51,7 @@ include html.syntax
file ..\*\\.(xml|XML|xsd|XSD|xslt?|XSLT?|dtd|DTD)$ XML\sdocument (\\?xml\sversion|!DOCTYPE\s) file ..\*\\.(xml|XML|xsd|XSD|xslt?|XSLT?|dtd|DTD)$ XML\sdocument (\\?xml\sversion|!DOCTYPE\s)
include xml.syntax include xml.syntax
file ..\*\\.(pp|PP|pas|PAS)$ Pascal\sProgram file ..\*\\.(pp|PP|pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram
include pascal.syntax include pascal.syntax
file ..\*\\.(ada|adb|ads|ADA|ADB|ADS)$ Ada\sProgram file ..\*\\.(ada|adb|ads|ADA|ADB|ADS)$ Ada\sProgram

Просмотреть файл

@ -2,6 +2,7 @@
context default yellow/24 context default yellow/24
keyword whole absolute white/25 keyword whole absolute white/25
keyword whole abstract white/25
keyword whole and white/25 keyword whole and white/25
keyword whole array white/25 keyword whole array white/25
keyword whole as white/25 keyword whole as white/25
@ -10,15 +11,19 @@ context default yellow/24
keyword whole begin white/25 keyword whole begin white/25
keyword whole break white/25 keyword whole break white/25
keyword whole case white/25 keyword whole case white/25
keyword whole cdecl white/25
keyword whole class white/25 keyword whole class white/25
keyword whole const white/25 keyword whole const white/25
keyword whole continue white/25 keyword whole continue white/25
keyword whole constructor white/25 keyword whole constructor white/25
keyword whole destructor white/25 keyword whole destructor white/25
keyword whole dispid white/25
keyword whole dispinterface white/25
keyword whole dispose white/25 keyword whole dispose white/25
keyword whole div white/25 keyword whole div white/25
keyword whole do white/25 keyword whole do white/25
keyword whole downto white/25 keyword whole downto white/25
keyword whole dynamic white/25
keyword whole else white/25 keyword whole else white/25
keyword whole end white/25 keyword whole end white/25
keyword whole except white/25 keyword whole except white/25
@ -57,17 +62,27 @@ context default yellow/24
keyword whole operator white/25 keyword whole operator white/25
keyword whole or white/25 keyword whole or white/25
keyword whole otherwise white/25 keyword whole otherwise white/25
keyword whole override white/25
keyword whole packed white/25 keyword whole packed white/25
keyword whole pascal white/25
keyword whole private white/25
keyword whole procedure white/25 keyword whole procedure white/25
keyword whole program white/25 keyword whole program white/25
keyword whole property white/25 keyword whole property white/25
keyword whole protected white/25
keyword whole public white/25
keyword whole published white/25
keyword whole raise white/25 keyword whole raise white/25
keyword whole readonly white/25
keyword whole record white/25 keyword whole record white/25
keyword whole register white/25
keyword whole repeat white/25 keyword whole repeat white/25
keyword whole safecall white/25
keyword whole self white/25 keyword whole self white/25
keyword whole set white/25 keyword whole set white/25
keyword whole shl white/25 keyword whole shl white/25
keyword whole shr white/25 keyword whole shr white/25
keyword whole stdcall white/25
keyword whole string white/25 keyword whole string white/25
keyword whole then white/25 keyword whole then white/25
keyword whole to white/25 keyword whole to white/25
@ -88,26 +103,32 @@ context default yellow/24
keyword < cyan/5 keyword < cyan/5
keyword \+ cyan/5 keyword \+ cyan/5
keyword - cyan/5 keyword - cyan/5
keyword / cyan/5 # the following must be commented out for the sake of singleline comments(//)
keyword % cyan/5 # keyword / cyan/5
keyword = cyan/5 keyword % lightgray/5
keyword [ cyan/5 keyword = lightgray/5
keyword ] cyan/5 keyword [ lightgray/5
keyword ( cyan/5 keyword ] lightgray/5
keyword ) cyan/5 keyword ( lightgray/5
keyword , cyan/5 keyword ) lightgray/5
keyword . cyan/5 keyword , lightgray/5
keyword : cyan/5 keyword . lightgray/5
keyword ; cyan/5 keyword : lightgray/5
keyword {$*} brightred/19 keyword ; lightgray/5
# keyword {$*} brightred/19
context ' ' brightcyan/22 context ' ' brightcyan/22
context // \n brown/22 context // \n brightgreen/22
context (\* \*) brown/22 keyword $+:*$ black/13 green/13
# context {$ } brightred/19 context exclusive (\*\* \*) brightgreen/22 black/22
keyword $+:*$ black/13 green/13
context exclusive (\* \*) brightgreen/22
keyword $+:*$ black/13 green/13
context {$ } green/22
context { } brightgreen/19
# keyword \[ABCDEFGHIJKLMNOPQRSTUVWXYZ\]\[-\+\] brightgreen/16 # keyword \[ABCDEFGHIJKLMNOPQRSTUVWXYZ\]\[-\+\] brightgreen/16
# keyword $* brightgreen/16 # keyword $* green/16
context { } lightgray/22 keyword $+:*$ black/13 green/13
spellcheck spellcheck