highlight whole lines in log files

highlight whole lines in log files

1
NewbieNewbie
1

    Apr 12, 2006#1

    Is it possible to highlight whole line begining with some keyword?
    I don't want to use comment color because I need more different colors.
    When I use ** some_word only some_word is highlighted and I need whole line.

    Example:

    Code: Select all

    /C1"Threads"
    ** Thread
    /C2"Processes"
    ** Process
    /C3"Modules"
    ** Module
    makes:

    Thread Start: Thread ID: 2772. Process CRM.exe (2448)
    Process Start: D:\work\CRM\CRM.exe. Base Address: $00400000. Process CRM.exe (2448)
    Module Load: CRM.exe. Has Debug Info. Base Address: $00400000. Process CRM.exe (2448)
    Module Load: ntdll.dll. No Debug Info. Base Address: $7C900000. Process CRM.exe (2448)

    I need:

    Thread Start: Thread ID: 2772. Process CRM.exe (2448)
    Process Start: D:\work\CRM\CRM.exe. Base Address: $00400000. Process CRM.exe (2448)
    Module Load: CRM.exe. Has Debug Info. Base Address: $00400000. Process CRM.exe (2448)
    Module Load: ntdll.dll. No Debug Info. Base Address: $7C900000. Process CRM.exe (2448)

    344
    MasterMaster
    344

      Apr 12, 2006#2

      Hi tomski,

      no, I don't think so... No regexp in syntax highlighting (so far :-(

      rds Bego
      Normally using all newest english version incl. each hotfix. Win 10 64 bit

      6,686585
      Grand MasterGrand Master
      6,686585

        Apr 13, 2006#3

        If ALL your lines start with Thread, Process or Module AND end with a ) you can use following:

        /L20"Log" Noquote Nocase File Extensions = log
        /Marker Characters = "M)P)T)"
        /C1"Threads"
        T)
        /C2"Processes"
        P)
        /C3"Modules"
        M)

        If your file contains also other lines, there is no solution for your need.
        Best regards from an UC/UE/UES for Windows user from Austria