Highlighting for Trace and Log files

Highlighting for Trace and Log files

1
NewbieNewbie
1

    Mar 11, 2010#1

    To analyze log and trace files, i create a first version of an wordfile by using Template

    Code: Select all

    /L19"Error Trace Log Files" Nocase Noquote String Chars = "' File Extensions = LOG TRC ERR ERROR
    /Colors = 0,8421376,8421376,8421504,8421504,
    /Colors Back = 16777215,16777215,16777215,16777215,16777215,
    /Colors Auto Back = 1,1,1,1,1,
    /Font Style = 0,0,0,0,0,
    /Delimiters = ~!%^&*()-+=|\/{}[]:;"` ,	.
    /Function String = "%^[*^]$"
    /Open Brace Strings = "{" "(" "[" "<" "if" "for" "while" "case" "else"
    /Close Brace Strings = "}" ")" "]" ">" "fi" "done" "done" "esac" "fi"
    /C1"blue" Colors = 16711680 Colors Back = 16777215 Colors Auto Back = 0 Font Style = 0
    /C2"ERRORS red" Colors = 255 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0
    bad
    can't
    cannot
    couldn't
    crash
    dump
    don't
    enough
    error
    exist
    exists
    failed
    fault
    invalid
    left
    no
    non
    not
    segmentation
    space
    such
    such
    too
    trace
    unable
    /C3"WARNINGS orange" Colors = 33023 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0
    warning
    /C4"INFOS green" Colors = 32768 Colors Back = 16777215 Colors Auto Back = 1 Font Style = 0
    version
    info
    idle
    mips
    /C5"Strings in []"
    []
    
    After insert this to your wordfile.txt you should switch off red highlighting for numbers:
    Advanced -> Configuration -> Editor Display -> Syntax Highlighting and select the language for which you would like to disable number highlighting.
    Select "Numbers" in the Color Group drop down box and set this color to black (or whatever your regular edit text color is).
    I'm glad about suggestions and extensions, too...