I use TextPad for pretty much all coding/text editing (I recommend it! Get it
here) including editing my AVS scripts, so I thought I'd put together an AVS Syntax File for syntax highlighting..
For those of you that use it, here it is.. keep in mind that I threw this together in about 5 minutes and as of now, it just has my most commonly used functions.
Please, if you use TextPad or just have additions/changes to make to the file, please do so and post them. What I'd like this to end up being is a syntax highlighting file that everyone can use with (close to) every function..
Filename: avisynth.syn
Code:
; TextPad syntax definitions for AVISynth
; Copyright (C) 2003, Gonzalo Rivadeneira, KVCD community
C=1
[Syntax]
Namespace1 = 6
IgnoreCase = Yes
KeyWordLength =
BracketChars = {[()]}
OperatorChars = -+*/<>!~%^&|=
PreprocStart =
SyntaxStart =
SyntaxEnd =
HexPrefix = 0x
CommentStart =
CommentEnd =
CommentStartAlt =
CommentEndAlt =
SingleComment = #
SingleCommentCol =
SingleCommentAlt =
SingleCommentColAlt =
SingleCommentEsc =
StringsSpanLines = No
StringStart = "
StringEnd = "
StringAlt =
StringEsc = \
CharStart = '
CharEnd = '
CharEsc = \
[Keywords 1]
LoadPlugin
MPEG2Source
AVISource
DirectShowSource
WAVSource
AC3Source
AudioDub
[Keywords 2]
GripCrop
GripSize
GripBorders
LegalClip
MergeChroma
MergeLuma
SpaceDust
FaeryDust
PixieDust
GoldDust
Convolution3D
SmoothHiQ
BlockBuster
Sampler
TemporalCleaner
FluxSmooth
Blur
Sharpen
ChangeFPS
AssumeFPS
LetterBox
Trim
BiLinearResize
BiCubicResize
LanczosResize
[Keywords 3]
height
width
overscan
source_anamorphic
dest_anamorphic
preset
method
noise
seed
length
variance
resizer