Syntax Highlighting

From Avisynth wiki
Revision as of 04:59, 19 September 2014 by Raffriff42 (Talk | contribs)

Jump to: navigation, search

Contents

Syntax highlighting in UltraEdit (by Sh0dan)

I've created settings for syntax highlighting in UltraEdit. To use it just append it to your WORDFILE.TXT in your UltraEdit directory and change the Language ID (here 20) if necessary.

The "Plugin filters" sections contains just a few of the available filter functions.

It probably should be extended with all the commonly used ones.

/L20"AVISynth" Line Comment = # Nocase Escape Char = \ String Chars = " File Extensions = avs avsi
/Delimiters = !@%^&*()-+|\/{}[]:;"'<> ,.	?
/C1"Keywords"
$
bool
clip
function float
global
int
string
val
/C2"Builtin functions"
abs apply assert asserteval
ceil cos catch
defined default
exp exist eval
floor frac float findstr
hexvalue
int isbool isint isfloat isstring isclip import
log lcase leftstr
midstr
nop
round rand revstr rightstr
sin sqrt sign strlen string setmemorymax setworkingdir select
try
pi pow
ucase
value versionnumber versionstring
/C3"Builtin filters"
AviSource AviFileSource AddBorders AlignedSplice AssumeFPS AssumeFrameBased AssumeFieldBased 
AssumeBFF AssumeTFF Amplify AmplifydB AssumeSampleRate AudioDub Animate
BlankClip Blackness Blur BicubicResize BilinearResize Bob
ColorYUV ConvertBackToYUY2 ConvertToRGB ConvertToRGB24 ConvertToRGB32 ConvertToYUY2 ConvertToYV12 Crop 
CropBottom ColorKeyMask ChangeFPS ConvertFPS ComplementParity ConvertAudioTo8bit ConvertAudioTo16bit 
ConvertAudioTo24bit ConvertAudioTo32bit ConvertAudioToFloat ConvertToMono ColorBars Compare
DirectShowSource DeleteFrame Dissolve DuplicateFrame DoubleWeave DelayAudio
EnsureVBRMP3Sync
FadeIn FadeIn2 FadeOut FadeOut2 FreezeFrame FixBrokenChromaUpsampling FixLuminance FlipHorizontalFlipVertical
GeneralConvolution GreyScale GetChannel GetLeftChannel GetRightChannel
HSIAdjust HorizontalReduceBy2 HighPassAudio Histogram
IPCSource Interleave Info
KillAudio
Layer Letterbox Levels Limiter LanczosResize Loop LowPassAudio
Mask MergeChroma MergeLuma MergeChannels MixAudio MonoToStereo MessageClip
Normalize
OpenDMLSource
PointResize Pulldown PeculiarBlend
ResetMask ReduceBy2 RGBAdjust ResampleAudio Reverse
SegmentedAviSource SegmentedDirectShowSource Sharpen SpatialSoften SwapUV SelectEven
SelectOdd SelectEvery SelectRangeEvery SeparateFields SwapFields Subtitle ShowFiveVersions
ShowFrameNumber ShowSMPTE StackHorizontal StackVertical Subtract
TemporalSoften Tweak Trim
UToY UnalignedSplice
VerticalReduceBy2 VToY Version
WavSource Weave
YToUV
/C4"Plugin filters"
AC3source aWarpSharp
Cnr2 Convolution3d
Decimate
FieldDeinterlace
MPASource mpeg2source
Telecide
/C5"Operators"
=
==
!=
<>
||
&&
+
++
-
*
/
%
>=
<=
<
>
?
:

Another UltraEdit syntax highlight file, by BatGnat

/L20"AVISynth Script" Line Comment = # String Chars = "'` Nocase File Extensions = AVS
/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> ,       .?
/C1"Source Filters"
AddBorders AddBorders  AlignedSplice Amplify AmplifydB Animate AssumeBFF AssumeFieldBased AssumeFPS AssumeFrameBased AssumeSampleRate AssumeTFF AudioDub AVIFileSource AVISource
BicubicResize BilinearResize Blackness BlankClip Blur Bob
ChangeFPS ColorBars ColorKeyMask ColorYUV Compare ComplementParity ConvertAudioTo16bit ConvertAudioTo24bit ConvertAudioTo32bit ConvertAudioTo8bit ConvertAudioToFloat ConvertBackToYUY2 ConvertFPS ConvertToBackYUY2 ConvertToMono ConvertToRGB ConvertToRGB24 ConvertToRGB32 ConvertToYUY2 ConvertToYV12 Crop CropBottom
DelayAudio DeleteFrame DirectShowSource Dissolve DoubleWeave DuplicateFrame
EnsureVBRMP3Sync
FadeIn FadeIn2 FadeIO FadeIO2 FadeOut FadeOut2 FixBrokenChromaUpsampling FixLuminance FlipHorizontal FlipVertical FreezeFrame
GeneralConvolution GetChannel Greyscale
Histogram HorizontalReduceBy2
Info Interleave
KillAudio
LanczosResize Layer Letterbox Levels Limiter Loop
Mask MergeChannels MergeChroma MergeLuma MessageClip MixAudio MPEG2Source MPEGSource
Normalize
OpenDMLSource
PeculiarBlend PointResize Pulldown
ReduceBy2 ResampleAudio ResetMask Reverse RGBAdjust
SegmentedAVISource SegmentedDirectShowSource SelectEven SelectEvery SelectOdd SelectRangeEvery SeparateFields Sharpen ShowFiveVersions ShowFrameNumber ShowSMPTE SpatialSoften StackHorizontal StackVertical Subtitle Subtract SwapFields SwapUV
TemporalSoften Trim Tweak
UnalignedSplice UToY
Version VerticalReduceBy2 VToY
WAVSource Weave
YToUV
 
/C2"Functions"
Abs Apply Assert AssertEval
catch Ceil Cos
Default Defined
Eval Exist Exp
Findstr Float Floor Frac Function
HexValue
Import Int IsBool IsClip IsFloat IsInt IsString
LCase LeftStr Log LoadPlugin LoadVirtualDubPlugin LoadVFAPIPlugin 
MidStr
NOP
Pi Pow
Rand Round RevStr
Select SetMemoryMax SetWorkingDir Sign Sin Sqrt StrLen String
Try
UCase
Value VersionNumber VersionString
 
/C3"Properties"
Audiobits
Audiochannels
Audiolength
Audiorate
Framecount
Framerate
GetParity
Height
IsFieldBased
IsFrameBased
IsRGB
IsRGB24
IsRGB32
IsYUY2
Width
 
/C4"Operators"
!=
%
&&
*
+
++
-
/
<
<=
==
>
>=
?:
||
 
/C5"Separs"
\

TextPad syntax definition file, by stickboy

Avisyn-stickboy.syn

ConTEXTsyntax definition file, by LigH

http://www.avisynth.org/stickboy/etc/AviSynth.chl.zip

Crimson Editor Syntax, by Zonk

http://avisynth.org/oldwiki/index.php?page=Crimson+Editor+Syntax

Notepad++ Avisynth Syntax Highlighting

https://code.google.com/p/feos-tas/downloads/detail?name=userDefineLang.xml

For Colorer-take5 plugin for FAR Manager text editor, by SweetLow & Fizick

http://avisynth.org.ru/highlight/highlight.html

Avisynth AVS syntax higlight for AkelPad text editor, by Fizick

http://avisynth.org.ru/highlight/highlight.html

http://akelpad.sourceforge.net/files/plugs/Coder/avs.coder (for latest version of Akelpad, modified by Lenchik)

Personal tools