Need highlight the first word of every line.

Need highlight the first word of every line.

2
NewbieNewbie
2

    Mar 12, 2007#1

    some descript.ion file may have such content

    Code: Select all

    CABRK.DLL CAB unpacker DLL
    CGLPT9X.VXD Parallel port driver for Windows 9x/ME
    CGLPTNT.SYS Parallel port driver for Windows NT/2000/XP
     
    And I want to highlight these word:"CABRK.DLL CGLPT9X.VXD CGLPTNT.SYS"
    that is ,highlight the first word of every line.
    is UE be able to do that.

    6,683583
    Grand MasterGrand Master
    6,683583

      Mar 12, 2007#2

      Ah, a Total Commander user like I. The answer for your question is: no!

      Only possible would be to modify the descript.ion file temporarily by inserting a special character normally not used for files and folders at start of every line, for example # and use a wordfile with following definition (+ other not posted here):

      /C1"Names"
      ** #

      Or you temporarily enclose the file/folder name in double quotes which would highlight the file/folder name as string with an appropriate simple language definition. Double quotes are used in a descript.ion file automatically if file/folder name contains a space, but it should not be used (or is not allowed, I don't know) for file/folder names without a space.

      But highlighting the file/folder names directly is not possible.
      Best regards from an UC/UE/UES for Windows user from Austria

      2
      NewbieNewbie
      2

        Mar 12, 2007#3

        I have tested it, and it works with TC "Single word[no space] with double quotes is Ok".

        for example:
        "gerenwenji" sec
        "3d.dxf" test
        "test CONFIG.TXT" test 2

        6,683583
        Grand MasterGrand Master
        6,683583

          Mar 12, 2007#4

          Yes, TC allows manually added double quotes around the file names.

          But it removes it automatically when you modify the description for the file in the dialog.
          Best regards from an UC/UE/UES for Windows user from Austria