Sha256: c8f72ede1489c6fc5759c9397c5696ca0cae30068ca7ae77dccb913b10a366d0

Contents?: true

Size: 1.62 KB

Versions: 10

Compression:

Stored size: 1.62 KB

Contents

dp.sh.Brushes.Vb = function()
{
	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';

	this.regexList = [
		{ regex: new RegExp('\'.*$', 'gm'),							css: 'comment' },			// one line comments
		{ regex: dp.sh.RegexLib.DoubleQuotedString,					css: 'string' },			// strings
		{ regex: new RegExp('^\\s*#.*', 'gm'),						css: 'preprocessor' },		// preprocessor tags like #region and #endregion
		{ regex: new RegExp(this.GetKeywords(keywords), 'gm'),		css: 'keyword' }			// c# keyword
		];

	this.CssClass = 'dp-vb';
}

dp.sh.Brushes.Vb.prototype	= new dp.sh.Highlighter();
dp.sh.Brushes.Vb.Aliases	= ['vb', 'vb.net'];

Version data entries

10 entries across 10 versions & 5 rubygems

Version Path
brandon-codex-1.0.3 app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushVb.js
drnic-codex-1.0.0 app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushVb.js
drnic-codex-1.0.1 app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushVb.js
drnic-codex-1.0.2 app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushVb.js
pragdave-codex-1.0.3 app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushVb.js
tobias-codex-1.0.3 app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushVb.js
codex-1.1.2 app_generators/codex/templates/assets/dp.SyntaxHighlighter/Scripts/shBrushVb.js
codex-1.1.1 app_generators/codex/templates/assets/dp.SyntaxHighlighter/Scripts/shBrushVb.js
codex-1.1.0 app_generators/codex/templates/assets/dp.SyntaxHighlighter/Scripts/shBrushVb.js
codex-1.0.2 app_generators/codex/templates/dp.SyntaxHighlighter/Scripts/shBrushVb.js