Select words based on Syntax Highlighting

Select words based on Syntax Highlighting

1581
Power UserPower User
1581

    Feb 19, 2014#1

    My syntax highlighting seem to be OK, and now I would like to know if I can select (and copy to clipboard) like ..

    - select all green words
    - select all comments
    - select all words which are in "Wordfile, Group C1"

    Would be great.

    Thanks

    Peter
    UE 26.20.0.74 German / Win 10 x 64 Pro

    6,681583
    Grand MasterGrand Master
    6,681583

      Feb 19, 2014#2

      UltraEdit v21.00.0.1033 (actual release) has no feature to select strings based on syntax highlighting.

      But I can offer a workaround if you are familiar with HTML.
      1. Select in UltraEdit with Ctrl+A the entire file.
      2. Click on command Copy as HTML Document in submenu Copy Special of menu Edit.
      3. Create a new file with Ctrl+N and paste the HTML code into the file with Ctrl+V.
      4. Now use several regular expression replaces to remove everything you do not want.
      Then you can save the new file as HTML file and open it in your browser to do with the remaining text whatever you want to do.
      Best regards from an UC/UE/UES for Windows user from Austria

      1581
      Power UserPower User
      1581

        Feb 19, 2014#3

        Thanks, Mofi

        (Am Wochenende Schnitzelwirt, Neubaugasse ...)
        UE 26.20.0.74 German / Win 10 x 64 Pro

        6,681583
        Grand MasterGrand Master
        6,681583

          Feb 20, 2014#4

          I want to add that with the script FindStringsToNewFile it is also possible to get all text line by line with the formatting attributes as specified in the find string directly instead of removing with regular expression replaces everything not wanted.
          Best regards from an UC/UE/UES for Windows user from Austria