"Fossies" - the Fresh Open Source Software Archive

Member "wscite/vb.properties" (11 Sep 2020, 4706 Bytes) of package /windows/misc/wscite445.zip:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # Define SciTE settings for VB files.
    2 
    3 # BAS: Module, FRM: Form, CLS: Class Module, CTL: User Control
    4 # PAG: Property Page, DSR: Data Report, DOB: User Document
    5 file.patterns.vb=*.vb;*.bas;*.frm;*.cls;*.ctl;*.pag;*.dsr;*.dob
    6 # VBS: VBScript, DSM: Visual[ex. Dev] Studio macro
    7 file.patterns.wscript=*.vbs;*.dsm
    8 
    9 *source.patterns.vb=$(file.patterns.vb);$(file.patterns.wscript);
   10 
   11 # VBP: VB Project, VBG: VB Project Group (ActiveX), MAK: old (VB3) project file, VBW: VB Workspace
   12 filter.vb=VB (vb vbp vbs bas frm cls ctl pag dsr dob)|$(file.patterns.vb);$(file.patterns.wscript);*.vbp;*.vbg;*.mak;*.vbw|
   13 
   14 *filter.vb=$(filter.vb)
   15 
   16 lexer.$(file.patterns.vb)=vb
   17 lexer.$(file.patterns.wscript)=vbscript
   18 
   19 *language.vb=&VB|vb||
   20 #*language.vbscript=VBScr&ipt|vbs||
   21 
   22 # Keywords, operators, statements, data types and some words in .frm files
   23 keywordclass.vb6=\
   24 addressof alias and as attribute base begin binary boolean byref byte byval call case cdbl \
   25 cint clng compare const csng cstr currency date decimal declare defbool defbyte defcur \
   26 defdate defdbl defdec defint deflng defobj defsng defstr defvar dim do double each else \
   27 elseif empty end enum eqv erase error event exit explicit false for friend function get \
   28 global gosub goto if imp implements in input integer is len let lib like load lock long \
   29 loop lset me mid midb mod new next not nothing null object on option optional or paramarray \
   30 preserve print private property public raiseevent randomize redim rem resume return rset \
   31 seek select set single static step stop string sub text then time to true type typeof \
   32 unload until variant wend while with withevents xor
   33 
   34 # html.properties picks up VB keywords from keywordclass.vb
   35 keywordclass.vb=$(keywordclass.vb6)
   36 
   37 # Mostly system statements (files, registry, I/O...) that
   38 # I am not sure to include with the regular statements.
   39 keywordclass.vbotherstatements=\
   40 appactivate beep chdir chdrive close filecopy get input kill line unlock mkdir name \
   41 open print put reset rmdir savepicture savesetting seek sendkeys setattr width write
   42 
   43 # VBNet specific keywords
   44 keywordclass.vbnet=\
   45 addhandler andalso ansi assembly auto catch cbool cbyte cchar cdate cdec char class \
   46 cobj continue csbyte cshort ctype cuint culng cushort custom default delegate directcast \
   47 endif externalsource finally gettype handles imports inherits interface isfalse isnot \
   48 istrue module mustinherit mustoverride my mybase myclass namespace narrowing notinheritable \
   49 notoverridable of off operator orelse overloads overridable overrides partial protected \
   50 readonly region removehandler sbyte shadows shared short strict structure synclock \
   51 throw try trycast uinteger ulong unicode ushort using when widening writeonly
   52 
   53 keywords.$(file.patterns.vb)=$(keywordclass.vb6) $(keywordclass.vbnet)
   54 keywords.$(file.patterns.wscript)=$(keywordclass.vb6)
   55 
   56 keywords2.$(file.patterns.vb)=$(keywordclass.vbotherstatements)
   57 
   58 comment.block.vb='~
   59 comment.block.vbscript='~
   60 # VB styles
   61 
   62 # Default
   63 style.vb.32=$(font.base)
   64 # White space
   65 style.vb.0=
   66 # Comment
   67 style.vb.1=$(colour.code.comment.line),$(font.code.comment.line)
   68 # Number
   69 style.vb.2=$(colour.number)
   70 # Keyword
   71 style.vb.3=$(colour.keyword)
   72 # String
   73 style.vb.4=$(colour.string)
   74 # Preprocessor (directives)
   75 style.vb.5=$(colour.preproc)
   76 # Operator
   77 style.vb.6=$(colour.operator)
   78 # Identifier
   79 style.vb.7=
   80 # Date
   81 style.vb.8=$(colour.number)
   82 # End of line where string is not closed
   83 style.vb.9=$(style.stringeol)
   84 # Other keywords (bozo test colors :-)
   85 style.vb.10=$(style.vb.5),back:#D0FFD0
   86 style.vb.11=$(style.vb.5),back:#D0D0FF
   87 style.vb.12=$(style.vb.5),back:#FFD0D0
   88 
   89 # VBScript styles same as VB styles
   90 style.vbscript.0=$(style.vb.0)
   91 style.vbscript.1=$(style.vb.1)
   92 style.vbscript.2=$(style.vb.2)
   93 style.vbscript.3=$(style.vb.3)
   94 style.vbscript.4=$(style.vb.4)
   95 style.vbscript.5=$(style.vb.5)
   96 style.vbscript.6=$(style.vb.6)
   97 style.vbscript.7=$(style.vb.7)
   98 style.vbscript.8=$(style.vb.8)
   99 style.vbscript.9=$(style.vb.9)
  100 style.vbscript.10=$(style.vb.10)
  101 style.vbscript.11=$(style.vb.11)
  102 style.vbscript.12=$(style.vb.12)
  103 
  104 # wscript
  105 # normal execute
  106 command.go.$(file.patterns.wscript)="$(FilePath)"
  107 command.go.subsystem.$(file.patterns.wscript)=2
  108 
  109 # note we have no real "build"; rather "execute and capture
  110 # compiletime and runtime errors"
  111 command.build.$(file.patterns.wscript)=cscript "$(FilePath)"
  112 command.build.subsystem.$(file.patterns.wscript)=1
  113 
  114 command.help.$(file.patterns.wscript)=$(CurrentWord)!C:\Program Files\Microsoft Visual Studio\MSDN\2001OCT\1033\MSDN130.COL
  115 command.help.subsystem.$(file.patterns.wscript)=4
  116 command.help.$(file.patterns.vb)=$(CurrentWord)!C:\Program Files\Microsoft Visual Studio\MSDN\2001OCT\1033\MSDN130.COL
  117 command.help.subsystem.$(file.patterns.vb)=4