PSPad Syntax file

2008-11-25
2013-05-30
  • Hi,

    I have created a syntax file for PSPad, feel free to use or tweak.

    ;GCBASIC - PSPad user HighLighter definition file
    ;Alex Smith - 25 NOV 2008
    ;v1.0 - Intial release, 25-NOV-2008

    [Settings]
    Name=GCBasic
    HTMLGroup=0
    Label=1
    FileType=*.gcb,*.bas
    CommentString=
    REMComment=1
    SinglQComment=1
    IndentChar=
    UnIndentChar=
    TabWidth=4
    DoubleQuote=1
    KeyWordChars=-_
    CodeExplorer=ftVBS

    [ReservedWords]
    IF=
    ENDIF=
    THEN=
    END=
    GOTO=
    GOSUB=
    RETURN=
    EXIT=
    SUB=
    WAIT=
    WHILE=
    UNTIL=
    DO=
    LOOP=
    FOR=
    NEXT=
    STEP=
    DIM=
    FUNCTION=
    SELECT=
    CASE=

    [KeyWords]
    ;[KEYWORDS0:GLOBAL]
    ;[KEYWORDS1:GLOBAL]
    include=
    define=
    chip=
    osc=
    config=
    IFDEF=
    ENDIF=
    script=
    endscript=
    startup=
    int=

    ;[KEYWORDS2:GLOBAL]
    InitSer=
    SerSend=
    SerReceive=
    ReadAD=
    ConvertAD=
    ADOn=
    ADPort=
    ADFormat=
    ADOff=
    Init_PWM=
    PWMOn=
    PWMOff=
    EPWrite=
    EPRead=
    SET=
    DIR=
    ROTATE=
    Forward=
    Reverse=
    SpinLeft=
    SpinRight=
    TurnLeft=
    TurnRight=
    DisplayValue=
    DisplayChar=
    LCDInt=
    PRINT=
    LOCATE=
    GET=
    PUT=
    CLS=
    Random=

    ;[KEYWORDS3:GLOBAL]
    Format_Left=
    Format_Right=
    ON=
    FLASH=
    OFF=
    IN=
    OUT=
    LIGHT=
    DARK=
    PRESSED=
    RELEASED=
    LEFT=
    RIGHT=
    us=
    ms=
    s=
    m=
    byte=
    word=

     
  • Thank you very much!