////////////////////////////////////////////////////////////////////////////// // // Aspect highlighter written by Steve Arnold // ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// // language name Language: Procomm Plus Aspect Script ////////////////////////////////////////////////////////////////////////////// // put whatever you want here, short description, author name, email address.. Description: Aspect script for Procomm Plus, Steve Arnold ////////////////////////////////////////////////////////////////////////////// // default file filter // note: if more than one extension is associated, eg: // C/C++ files (*.c,*.cpp,*.h,*.hpp)|*.c;*.cpp;*.h;*.hpp Filter: Aspect files (*.was)|*.was ////////////////////////////////////////////////////////////////////////////// // help file which will be invoked when F1 is pressed HelpFile: "C:\Program Files\Symantec\Procomm Plus\PROGRAMS\ASPECT.HLP" ////////////////////////////////////////////////////////////////////////////// // language case sensitivity // 0 - no // 1 - yes CaseSensitive: 0 ////////////////////////////////////////////////////////////////////////////// // comment type: LineComment - comment to the EOL // BlockCommentBeg - block comment begin, it could be // multiline // BlockCommentEnd - block comment end // // if there is more than one definition of line/beg/end comment string, // you can separate it with spaces. // for example, for pascal it would be: // LineComment: // // BlockCommentBeg: (* { // BlockCommentEnd: *) } LineComment: ; BlockCommentBeg: BlockCommentEnd: ////////////////////////////////////////////////////////////////////////////// // identifier characters // note: characters shouldn't be delimited, except arrays // array of chars could be defined as from_char..to_char IdentifierBegChars: a..z A..Z _%@. IdentifierChars: a..z A..Z _ 0..9 ? ////////////////////////////////////////////////////////////////////////////// // numeric constants begin characters // note: characters shouldn't be delimited, except arrays // array of chars could be defined as from_char..to_char // number always starts with 0..9 except when NumConstBeg // defines other NumConstBegChars: 0..9 ////////////////////////////////////////////////////////////////////////////// // numeric constants characters // note: characters shouldn't be delimited, except arrays // array of chars could be defined as from_char..to_char // number always starts with 0..9 except when NumConstBeg // defines other NumConstChars: 0..9 abcdefhABCDEFH ////////////////////////////////////////////////////////////////////////////// // escape character EscapeChar: ////////////////////////////////////////////////////////////////////////////// // keyword table // note: delimited with spaces, lines could be wrapped // you may divide keywords into five groups which can be // highlighted differently // ASPECT keywords KeyWords1: 1KXMODEM 1KXMODEMG 2KWINDOW 4KWINDOW ABORTDNLD ABORTRETRY ACCEPTCALL ACCESS ACTION ACTIONBAR ADAPTIVE19200 ADAPTIVEANS ADDCALLINFO ADDFILENAME ADDRESS ADDS60 ADD90 ADM31 ADM3A ADM5 ALARM ALARMTIME ALT ALTCTRL ALTCRTLSHIFT ALTSHIFT ALWAYS ANIMATE ANONYMOUSLOGON ANSIBBS ANSITOKEY ANSITOOEM ANSRINGS APPEND AREACODE ASCII ASCIIXLAT ASPECT ASPECTPATH ASPMENU ATOF ATOI ATOL ATT4410 ATT605 ATTRIBUTE AUTO AUTOANSWER AUTODNLD AUTOLOGON AUTOSIZE AUTOSTART BACKGROUND BACKSPACE BAUDRATE BEEP BEGIN BINARY BINARYMODE BIT8MODE BIT8QUOTE BITMAP BITMAPBKG BLANKEXPAND BLINKRATE BLOCK BLOCKCHECK BLOCKCURSOR BLOCKMODE BLOCKSTART BOLD BOTTOM BREAK BREAKLEN BREAKPOINT BY CALL CALLERID CANCEL CAPTURE CAPTURESTR CASE CDINXFER CEIL CELLULAR CENTER CHAIN CHARACTER CHARPACE CHARSET CHATMODE CHDIR CHECKBOX CHECKGROUPS CISB CLASS CLASS1 CLASS2 CLEAR CLEARXOFF CLIPBOARD CLIPCHAR CLIPFILERMV CLIPTOFILE CLIPTOSTR CLOSE CLOSED CNCTMSG CODEPAGE COLORS COLUMNS COMBOBOX COMGETC COMMANDMODE COMPANY COMPILE COMPLETE COMPUTC COMREAD COMWRITE CONNECT CONNECTALL CONNECTED CONNECTION CONNECTMANUAL CONTENTS CONTROL CONVENTIONAL CONVERTER COPYFILE COUNTRY COVERSHEET CR CR_LF CRASHRECOVER CRC CRC16 CRC32 CREATE CRLF_ETX CRLFXLAT CTRL CTRLBREAK CTRLQUOTE CTRLSHIFT CURRENT CURSORKEYAPP CURSORPOS DATA DATABASE DATABITS DATAKEY DATE DBLCLICK DDEADVISE DDEEXECUTE DDEINIT DDEPOKE DDEREQUEST DDETERMINATE DDEUNADVISE DEC DECIMAL DECLINEWRAP DECRYPT DEFAULT DELETE DELFILE DELLINE DELPAGES DEST DEVICE DGD100 DGD200 DGD210 DIAL DIALADD DIALCANCEL DIALCLASS DIALCOUNT DIALCREATE DIALDELETE DIALDIR DIALED DIALENTRY DIALFIND DIALINGBOX DIALINSERT DIALLOAD DIALNAME DIALNUMBER DIALNUMBERONLY DIALOG DIALOGBOX DIALSAVE DIALSTATS DIM DIR DIRECT DIRLISTBOX DIRPATH DISABLE DISABLED DISCONNECT DISK DISKFREE DISPLAY DLGCTRL DLGCTRLWIN DLGDESTROY DLGEVENT DLGEXISTS DLGLIST DLGSAVE DLGSHOW DLGUPDATE DLGWIN DLGWINCTRL DLLCALL DLLFREE DLLLOAD DLLOBJECT DLLOBJFILE DLLOBJUPDT DNLD DNLDPATH DNLDPROMPT DOS DOWNTO DROPDOWN DROPDOWNLIST DROPDTR DUPLEX DYNAMIC ECHO ECM EDITBOX EDITOR ELAPSED ELSE ELSEIF EMULATION ENABLE ENCRYPT ENDCASE ENDDIALOG ENDFOR ENDFUNC ENDGROUP ENDIF ENDPROC ENDSEQUENCE ENDSWITCH ENDWHILE ENQUIRY ENQUIRYSTR ENTERCRLF ENTERKEY ENTRY ENVIRONMENT EOLCHAR EOLCONVERT EOLSTR EOT ERRORDETECT ERRORMSG ESCAPEM ESPRIT3 ETX EVEN EXACT EXCLAMATION EXECUTE EXIT EXITACTION EXITFOR EXITSWITCH EXITWHILE EXITWINDOWS EXTENDED FAST FAX FAXCANCEL FAXLIST FAXMODEM FAXNUMBER FAXPOLL FAXPRINT FAXREMOVE FAXSEND FAXSTATUS FAXVIEW FAXXMIT FCLEAR FCLOSE FCOMBOBOX FDELBLOCK FEDITBOX FEOF FERROR FETCH FFLUSH FGETC FGETS FILE FILEGET FILELIST FILESET FILETOCLIP FILETYPE FILEVIEW FILEXFER FILEXFERBOX FILTER FILTERED FINDFIRST FINDNEXT FINISH FINSBLOCK FIRST FIRSTTASK FIXED FLENGTH FLISTBOX FLOAT FLOOR FLOWCONTROL FLUSH FONT FONTNAME FONTSIZE FOOTER FOPEN FOR FOREVER FORWARDADDRESS FPUTC FPUTS FRAME FREAD FSEEK FSTRFMT FTELL FTEXT FTOA FTP FTRUNCATE FULL FULLPATH FUNC FWRITE GETCUR GETDIR GETENV GETFILE GETFILENAME GETPATHNAME GETVOLUME GLOBAL GOTO GROUP GROUPBOX HALF HALT HANGUP HARDFLOW HARDWARE HEADER HEATH19 HELP HELPFILE HIDDEN HOLD HOST HOSTDIR HOSTPRINT HOSTTYPE HOTKEYS HOTSPOT HSCROLL HTML IBM3101 IBM3161 IBM3270 IBMPC ICON ICONBUTTON ICONFLASH ICONPATH IF INBOX INCNCTLIST INCREMENTAL IND$FILE INFORMATION INIT INSERT INTEGER INTERNET INTO INTSLTIME IPADDRESS IPPORT ISFILE ISKEY ISO ITALIC ITEM ITEMCOUNT ITEMCREATE ITEMFIND ITEMNAME ITEMREMOVE ITOA KEEP KERMIT KERMSERVE KEYBOARDFILE KEYFLUSH KEYGET KEYPADAPP KEYS KEYSTATE KEYTOANSI KEYTOOEM L8 LANDSCAPE LARGEABARS LEFT LENGTH LF LINEPACE LINETYPE LINEWRAP LISTBOX LMOUSE LOCAL LOCALDIR LOCATE LOCATION LOGGING LOGOFF LOGONNAME LOGONTIMEOUT LOGOUT LONG LONGDISTANCE LONGFILENAME LONGJMP LOOPFOR LOOPWHILE LRECL LTIME LTIMEELAPSED LTIMEINTS LTIMEMISC LTIMESTRING LTIMESTRS LTOA MAIL MAKEPATH MANAGER MAPISEND MARGINS MARK MASKED MATCHCASE MAXIMIZED MAXLENGTH MCIEXEC MCISEND MEMADDRESS MEMALLOC MEMAVAIL MEMCHR MEMCMP MEMFREE MEMGETC MEMICMP MEMLOAD MEMMOVE MEMO MEMORY MEMPUTC MEMREAD MEMREALLOC MEMSET MEMSIZE MEMTOTAL MEMWRITE MENU MENUBAR MENUCHECK MENUITEM MENUITEMCOUNT MENUPOPUP MENUPOPUPID MENUSELECT MENUSHOW MENUSHOWPOPUP MENUSTATE METAFILE METAFILEBKG METAKEY METAKEYFILE METAKEYS MINIMIZED MISC MKDIR MODEM MONTHSTR MOUSECOORD MSPAUSE MULTILINE MULTIPLE MULTIPLEWINDOWS MUSIC MVS_TSO NEGOTIATE NEGOTIATION NEWER NEWS NEXT NEXTTASK NO NONCONTIG NONDEST NONE NOPAINT NORMAL NOT NOTES NOTESFILE NOTESPATH NULLSTR NULLSUPPRESS NUMTOSTR OBJCOORD OBJHIDE OBJMOVE OBJPAINT OBJPOINTID OBJREMOVE OBJSHOW ODD OEMTOANSI OEMTOKEY OFF OFFSET OK OKCANCEL ON ONVERIFY OPEN OPTIONS ORGANIZATION ORIENTATION ORIGTIME OTHER OUTBOX OVERWRITE PACECHAR PACELINES PACKETSIZE PADCHAR PADNUM PAGENUMBERS PAGING PARAM PARENT PARITY PASSIVEMODE PASSWORD PASTETEXT PATH PATTERN PAUSE PAUSECHAR PERMANENT PHONENUMBER PHYSICAL PIXELS PKMODE PKRECV PKSEND PLAYBACK PLAYBACKPACE POPUP PORT PORTRAIT PREFIX PRINT PRINTALIGN PRINTATTR PRINTCAPTURE PRINTCHAR PRINTER PRINTFIT PRINTFONT PRINTMARGIN PRINTSTR PRINTTABS PRINTTABSTR PROC PROFILERD PROFILEWR PROGRAM PROMPT PROMPTHEADERS PROTECT PROTECTATTR PROTOCOL PUSHBUTTON PUTENV PW PWEXIT PWMENU PWMODE PWTITLEBAR QUERY QUESTION QUICKOPTION QUICKSELECT QUIET RADIOBUTTON RADIOGROUP RAND RAW RAWASCII PAWPRINT READ READAPPEND READWRITE REBOOT RECEIVE RECEIVED RECEIVER RECFM RECORDMODE RECVBAUD RECVCMD RECVPRINT RECVVIEW RECYCLE RELAXED REMOTE REMOTECMD REMOVE RENAME REPAINT REPLYADDRESS RESET RESTORE RESUME RETAINFILES RETRIES RETRYCANCEL RETRYDELAY RETURN REVERSE REVERSEBIT REWIND RGET RGETCHAR RIGHT RIP RMDIR RMOUSE RMVPOLLED ROWS RSTRCMP RUN RXCR RXDATA RXFLUSH SAVE SBBUFFER SBPAGES SBSAVE SCALE SCHEDULED SCREEN SCREENTOWIN SCRIPTFILE SCRIPTPATH SCRIPTSTART SCROLL SCROLLMETHOD SDLGFOPEN SDLGINPUT SDLGMSGBOX SDLGSAVEAS SEARCH SECURITY SELECT SEND SENDCMD SENDER SENDFILE SENDKEY SENDKEYSTR SENDPOLLED SENDVKEY SENT SEPARATOR SERVERADDRESS SET SETJMP SETPOINTER SETUP SHARED SHELL SHIFT SHORT SHORTPATH SHOWFAXSTATUS SHUTDOWN SIERRA SIGNATUREFILE SIMPLE SINGLE SIZE SIZEOF SKIP SNAPSHOT SOFTFLOW SOFTWARE SORT SPACE SPAWN SPLITPATH STATCLEAR STATIONID STATMSG STATUSATTR STATUSLINE STOP STOPBITS STRCAT STRCHR STRCMP STRCPY STRCSPN STRDELETE STREAMING STREXTRACT STRFIND STRFMT STRGETC STRICMP STRING STRINSERT STRIP STRIPBIT8 STRLEN STRLWR STRNCMP STRNICMP STRPUTC STRQUOTE STRRCHR STRREAD STRREPLACE STRREV STRRIGHT STRSEARCH STRSET STRSLTIME STRSPN STRTOCLIP STRTOK STRTONUM STRUPDT STRUPR STRWRITE SUBSTR SUSPEND SWITCH TABEXPAND TABKEY TABSTOPS TARGET TASKACTIVATE TASKEXISTS TASKEXIT TASKNAME TASKPATH TASKWIN TELNET TERMCOLORS TERMFONT TERMGETC TERMGETS TERMINAL TERMINALID TERMKEY TERMMSG TERMPUTC TERMPUTS TERMREADC TERMREADS TERMRESET TERMVKEY TERMWRITEC TERMWRITES TEXT TIGHT TILED TIME TIMEOUT TIMESTAMP TIMING TOOLTIPS TOP TOPIC TRANSLATE TRANSMIT TTY TURNCHAR TVI910 TVI912 TVI920 TVI922 TVI925 TVI950 TVI955 TXFLUSH TXMETHOD TXPACE TYPE UNDERLINE UNSELECT UNTIL UPDATE UPLD UPLDPACE UPLDPATH UPTO US_CR USELRECL USEPACECHAR USERECFM USEREXIT USERID USERMSG USERNAME USERWIN UWINCREATE UWINPAINT UWINREMOVE UWUS UWUTOWIN VARIABLE VIDTEX VIEWCURSOR VIEWGIF VIRTUAL VISUAL VM_CMS VOICE VOICENUMBER VT100 VT102 VT220 VT320 VT52 WAITFOR WAITQUIET WAITUNTIL WAVEFILE WEEKDAYSTR WHEN WHENSUSPEND WHENTARGET WHILE WINACTIVATE WINCLOSE WINCOLORS WINCOORD WINDOW WINENABLED WINEXISTS WINFOCUS WINHIDE WINMAXIMIZE WINMINIMIZE WINMOVE WINOWNER WINRESTORE WINSHOW WINSIZE WINSTATE WINTASK WINTEXT WINTOSCREEN WINTOUWU WINVISIBLE WITH WIZARD WORD WRITE WWW WYSE100 WYSE50 WYSE60 WYSE75 XFERCANCEL XFERMODE XFERYIELD XLATIN XLATOUT XLATSTR XMITBAUD XMODEM XOFF XWINDOW YES YESNO YESNOCANCEL YIELD YMODEM YMODEMG ZMODEM // System variables KeyWords2: SUCCESS FAILURE $ACTIONBAR $ACTIONBARS $ACTIVEWIN $ASPECTPATH $ASPMENU $CALLERID $CAPTURE $CARRIER $CHAINEDFILE $CHATWIN $CNCTMSG $COL $COMPANY $CONNECTOPEN $CTS $DATAOPTIONS $DATE $DDEADVISE $DDIRFNAME $DIALCHANGED $DIALCONNECT $DIALDIR $DIALENTRY $DIALING $DIALQUEUE $DIALSELECT $DTR $ERRORNUM $EXITCODE $FATTR $FAXFILE $FAXMESSAGE $FAXOPTIONS $FAXRECVCNT $FAXSENDCNT $FAXSTATUS $FDATE $FEXT $FILENAME $FILESPEC $FLOWSTATE $FLTIME $FNAME $FOCUSWIN $FSIZE $FTIME $FTPCONNECT $FTPOPTIONS $FTPSTATUS $IPADDRESS $KEYHIT $LMOUSEEVENT $LMOUSESTATE $LMOUSEWIN $LMOUSEX $LMOUSEY $LTIME $MAILOPTIONS $MAINWIN $MAPIENABLED $MCIDEVICEID $MCINOTIFY $METAKEYS $MISC $MMOUSEEVENT $MMOUSESTATE $MMOUSEWIN $MMOUSEX $MMOUSEY $MODEMCONNECT $MONITORWIN $NEWSOPTIONS $NEWSSTATUS $NULLSTR $NUMCOLORS $NUMTASKS $OBJECT $OS $OSVER $PARENTFILE $PASSWORD $PKRECV $PKSEND $PLAYBACK $POINTERTASK $POINTERWIN $POINTERX $POINTERY $PROTOCOL $PWACTIVE $PWLOCALPATH $PWMAINWIN $PWMENU $PWMENUBAR $PWMENUDEF $PWMODE $PWTASK $PWTASKPATH $PWTITLEBAR $PWVER $PWWINSTATE $QUICKSELECT $RMOUSEEVENT $RMOUSESTATE $RMOUSEWIN $RMOUSEX $RMOUSEY $ROW $RTS $RXCOUNT $RXDATA $SCRIPTENV $SCRIPTFILE $SCRIPTMODE $SCROLLBACK $SERIALNUM $SETUP $SFILENAME $STATIONID $STATMSG $STATUSLINE $TASK $TELNETOPTIONS $TERMCOLORS $TERMCOLS $TERMFONT $TERMINAL $TERMROWS $TIME $TIME24 $TITLEBAR $TXCOUNT $TXDATA $USERDISK $USERDISKSTR $USERID $USERNAME $USERPATH $USERWIN $UWINACTIVE $VOLUME $WINCOLORS $WINPATH $WWWSTATUS $XFERFILE $XFERSTATUS $XOFFRECV $XOFFSENT $XPIXELS $YPIXELS // Predefined global variables KeyWords3: f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 i0 i1 i2 i3 i4 i5 i6 i7 i8 i9 l0 l1 l2 l3 l4 l5 l6 l7 l8 l9 s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 // Predefined macro definitions KeyWords4: ASPDEBUG ASPFILE ASPLINE ASPVERSION // Preprocessor keywords KeyWords5: ////////////////////////////////////////////////////////////////////////////// // string delimiter: StringBegChar - string begin char // StringEndChar - string end char // MultilineStrings - enables multiline strings, as perl // has it StringBegChar: " StringEndChar: " MultilineStrings: 0 ////////////////////////////////////////////////////////////////////////////// // use preprocessor: 0 - no // 1 - yes // note: if yes, '#' and statements after it will be // highlighted with Preprocessor defined colors UsePreprocessor: 1 ////////////////////////////////////////////////////////////////////////////// // highlight line: 0 - no // 1 - yes // note: if yes, current line will be highlighted CurrLineHighlighted: 0 ////////////////////////////////////////////////////////////////////////////// // colors // note: first value is foreground, second is background color // and third (optional) represents font attribute: // B - bold // I - italic // U - underline // S - strike out // attributes can be combined: eg. B or BI // as value, it could be used any standard windows color: // clBlack, clMaroon, clGreen, clOlive, clNavy, // clPurple, clTeal, clGray, clSilver, clRed, clLime, // clYellow, clBlue, clFuchsia, clAqua, clLtGray, // clDkGray, clWhite, clScrollBar, clBackground, // clActiveCaption, clInactiveCaption, clMenu, clWindow, // clWindowFrame, clMenuText, clWindowText, clCaptionText, // clActiveBorder, clInactiveBorder, clAppWorkSpace, // clHighlight, clHighlightText, clBtnFace, clBtnShadow, // clGrayText, clBtnText, clInactiveCaptionText, // clBtnHighlight, cl3DDkShadow, cl3DLight, clInfoText, // clInfoBk // as value, it could be used hex numeric constant too: // $BBGGRR - BB: blue, GG: green, RR: red, eg: $FF6A00 SpaceCol: clWindowText clWindow Keyword1Col: clNavy clWindow B Keyword2Col: clPurple clWindow Keyword3Col: clBlue clWindow Keyword4Col: clBlue clWindow Keyword5Col: clBlue clWindow IdentifierCol: clWindowText clWindow CommentCol: clGray clWindow NumberCol: clRed clWindow StringCol: clMaroon clWindow SymbolCol: clGray clWindow PreprocessorCol: clBlue clWindow BI SelectionCol: clWhite clNavy CurrentLineCol: clBlack clYellow OverrideTxtFgColor: 0 BlockAutoindent: 0 BlockBegStr: BlockEndStr: MatchedBracesCol: clWindowText clWindow