Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Copy text complete with syntax highlights and markings

    Help wanted · · · – – – · · ·
    2
    3
    158
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Lynda Wilson
      Lynda Wilson last edited by

      Npp makes it soooo easy to highlight (mark) words in different colors (style tokens) on top of language-specific syntax highlighting. I am marking up a log file to show the progression of several issues.
      I would really love to retain the style token colors in addition to the language-specific syntax coloring when copying, but I have only been able to maintain the syntax highlighting, not the style token coloring.
      Any suggestions?

      PeterJones 1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones @Lynda Wilson last edited by

        @lynda-wilson ,

        I assume you are using the Plugins > NppExporter > Copy RTF To Clipboard or similar to get the syntax highlighting. @chcg officially supports that plugin, and there’s an issue tracker for that plugin. Some time ago (oh, two years ago tomorrow), I put in that request, but after a brief response, nothing happened. You might want to go put in your upvote and an explanation of why it would be useful to you.

        Also, that issue referenced a discussion here… that discussion has scripts for the PythonScript plugin which might copy the extra formatting that you want. If you are willing to install that plugin, then those scripts might tide you over while waiting for an update to the NppExporter plugin.

        Lynda Wilson 1 Reply Last reply Reply Quote 1
        • Lynda Wilson
          Lynda Wilson @PeterJones last edited by

          @PeterJones
          Thank you so much for your speedy reply and helpful suggestions!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors