fb:porticula NoPaste
Syntax-Highlighting für ConTEXT
Uploader: | ytwinky |
Datum/Zeit: | 16.08.2007 19:38:12 |
//////////////////////////////////////////////////////////////////////////////
//
// freeBASIC Highlighter written by Stefan Hartinger alias Dusky Joe
// Email: dusky_joe@lycos.de
// Date : 05-07-29
//
//////////////////////////////////////////////////////////////////////////////
Language: FreeBASIC
Description: FreeBASIC highlighter written by Dusky Joe, dusky_joe@lycos.de
Filter: FreeBASIC-Dateien (*.bas, *.bi)|*.bas;*.bi
HelpFile: D:\Sprachen\FreeBASIC\FBRD_07-01-03.chm
CaseSensitive: 0
LineComment: '
BlockCommentBeg:
BlockCommentEnd:
IdentifierBegChars: a..z A..Z _
IdentifierChars: a..z A..Z _ 0..9
NumConstBegChars: 0..9 &
NumConstChars: 0..9 abcdefhoABCDEFHO
EscapeChar:
// statements, functions, clauses
KeyWords1: ABS ACCESS ACOS ALIAS ALLOCATE ALPHA APPEND AS ASC ASIN ASM ATAN2 ATN
BASE BEEP BIN$ BINARY BIT BITRESET BITSET BLOAD BSAVE BYREF BYVAL
CALL CALLOCATE CASE CBYTE CDBL CDECL CHAIN CHDIR CHR$ CINT CIRCLE CLEAR CLNG CLNGINT CLOSE
CLS COLOR COMMAND$ COMMON CONST CONTINUE COS CSHORT CSIGN CSNG CSRLIN CUBYTE CUINT CULNGINT
CUNSG CUSTOM CURDIR CUSHORT CVD CVI CVL CVLONGINT CVS CVSHORT
DATA DATE DATE$ DEALLOCATE DECLARE DEFINED DIM DIR$ DO DRAW DYLIBLOAD DYLIBSYMBOL DYNAMIC
ELSE ELSEIF END ENUM ENVIRON ENVIRON$ EOF ERASE ERR ERROR ESCAPE EXEC EXEPATH EXIT EXP
EXPLICIT EXPORT EXTERN
FIELD FIX FLIP FOR FRE FREEFILE FUNCTION
GET GETJOYSTICK GETKEY GETMOUSE GOSUB GOTO
HEX$ HIBYTE HIWORD
IF IIF IMAGECREATE IMAGEDESTROY IMPLICIT INKEY$ INP INPUT INPUT$ INSTR INT IS
KeyWords1 KILL
LBOUND LCASE$ LEFT$ LEN LET LIB LINE LOBYTE LOC LOCAL LOCATE LOCK LOF LOG LOOP LOWORD LSET
LTRIM$
MID$ MKD$ MKDIR MKI$ MKL$ MKLONGINT$ MKS$ MKSHORT$ MULTIKEY MUTEXCREATE MUTEXDESTROY
MUTEXLOCK MUTEXUNLOCK
NAME NEXT NOKEYWORD
OCT$ ON ONCE OPEN OPTION OUT OUTPUT OVERLOAD
PAINT PALETTE PASCAL PCOPY PEEK PMAP POINT POINTER POKE POS PRESERVE PRESET PRINT PRIVATE
PROCPTR PSET PUBLIC PUT
RANDOM RANDOMIZE READ REALLOCATE REDIM REM RESET RESTORE RESUME RETURN RGB RGBA RIGHT$ RMDIR
RND RSET RTRIM$ RUN
SADD SCREEN SCREENCOPY SCREENINFO SCREENLOCK SCREENPTR SCREENRES SCREENSET SCREENSYNC
SCREENUNLOCK SEEK SELECT SETDATE SETENVIRON SETMOUSE SETTIME SGN SHARED SHELL SHL SHR SIN
SIZEOF SLEEP SPACE$ SPC SQR STATIC STDCALL STEP STOP STR$ STRING$ STRPTR SUB SWAP SYSTEM
TAB TAN THEN THREADCREATE THREADWAIT TIME TIME$ TIMER TO TRANS TRIM$ TYPE
UBOUND UCASE$ UNION UNLOCK UNTIL USING
VA_ARG VA_FIRST VA_NEXT VAL VAL64 VALINT VARPTR VIEW VIEWPRINT
WAIT WEND WHILE WIDTH WINDOW WINDOWTITLE WITH WRITE
// Data Types
KeyWords2: ANY
BYTE
DEFBYTE DEFDBL DEFINT DEFLNG DEFLNGINT DEFSHORT DEFSNG DEFSTR DEFUBYTE DEFUINT DEFULNGINT DEFUSHORT
DOUBLE
INTEGER
LONG LONGINT
PTR
SHORT SINGLE STRING
UBYTE UINTEGER ULONGINT UNSIGNED USHORT
ZSTRING
// Operators
KeyWords3: AND EQV IMP MOD NOT OR XOR
StringBegChar: "
StringEndChar: "
MultilineStrings: 1
UsePreprocessor: 1
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: clNone clWhite
Keyword1Col: clWindowText clWhite B
Keyword2Col: clNavy clWhite B
Keyword3Col: $004040FF clWhite B
IdentifierCol: clBlack clWhite
CommentCol: clGray clWhite
NumberCol: clGreen clWhite
StringCol: clNavy clWhite
SymbolCol: clRed clWhite
PreprocessorCol: $000080FF clWhite
SelectionCol: clWhite clNavy
CurrentLineCol: clBlack clYellow
OverrideTxtFgColor: 0
BlockAutoindent: 1
BlockBegStr:
BlockEndStr:
Keyword4Col: $00C000C0 clWhite
Keyword5Col: clAqua clWhite B
MatchedBracesCol: $0000C000 clWhite