diff --git a/brush.js b/brush.js index e5622ee..5d769c8 100644 --- a/brush.js +++ b/brush.js @@ -2,20 +2,7 @@ var BrushBase = require('brush-base'); var regexLib = require('syntaxhighlighter-regex').commonRegExp; function Brush() { - var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' + - 'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' + - 'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' + - 'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' + - 'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' + - 'Function Get GetType GoSub GoTo Handles If Implements Imports In ' + - 'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' + - 'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' + - 'NotInheritable NotOverridable Object On Option Optional Or OrElse ' + - 'Overloads Overridable Overrides ParamArray Preserve Private Property ' + - 'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' + - 'Return Select Set Shadows Shared Short Single Static Step Stop String ' + - 'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' + - 'Variant When While With WithEvents WriteOnly Xor'; + var keywords = 'AddHandler AddressOf Aggregate Alias And AndAlso Ansi As Assembly Async Auto Await Binary Boolean By ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate CDbl CDec Char CInt Class CLng CObj Compare Const Continue CSByte CShort CSng CStr CType CUInt CULng CUShort Date Decimal Declare Default Delegate Dim DirectCast Distinct Do Double Each Else ElseIf End EndIf Enum Equals Erase Error Event Exit Explicit False Finally For Friend From Function Get GetType GetXMLNamespace Global GoSub GoTo Group Handles If Implements Imports In Inherits Integer Interface Into Is IsFalse IsNot IsTrue Iterator Join Key Let Lib Like Long Loop Me Mid Mod Module MustInherit MustOverride MyBase MyClass NameOf Namespace Narrowing New Next Not Nothing NotInheritable NotOverridable Object Of Off On Operator Option Optional Or Order OrElse Out Overloads Overridable Overrides ParamArray Partial Preserve Private Property Protected Public RaiseEvent ReadOnly ReDim Region REM RemoveHandler Resume Return SByte Select Set Shadows Shared Short Single Skip Static Step Stop Strict String Structure Sub SyncLock Take Text Then Throw To True Try TryCast TypeOf UInteger ULong Unicode Until UShort Using Variant Wend When Where While Widening With WithEvents WriteOnly Xor Yield'; this.regexList = [ { @@ -41,4 +28,4 @@ function Brush() { Brush.prototype = new BrushBase(); Brush.aliases = ['vb', 'vbnet']; -module.exports = Brush; \ No newline at end of file +module.exports = Brush;