Community
    • Login

    How do I highlight text in alternate colors?

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 3 Posters 40 Views 2 Watching
    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.
    • Derrick HawkinsD Offline
      Derrick Hawkins
      last edited by

      I am creating lists and i need to have column headings in different colors but it does not look like colors is an available enhancement.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @Derrick Hawkins
        last edited by

        @Derrick-Hawkins ,

        If you mean temporarily highlight (*), then select one of the column headings, then Search > Style One Token and pick one of the five available colors. If you have more than five columns, you can apply multiple colors to the same heading (with anything from 1 to 5 colors active at the same time on each, you can get 31 different combinations) (*: “temporarily”, because text files cannot save color information, so when you reload Notepad++, or open it on a different computer, it won’t have those colors saved; if you are looking for a word-processor-like feature where the text has that color permanently applied, then you need to find a word processor, not a text editor).

        But since you’re working with tabular/columnar data: if your columns are comma-separated, then the CSV Lint plugin will help you automatically highlight columns; if your columns are separated by spaces/tabs, then you’ll definitely want to use the Columns++ plugin (though I don’t remember it having the header or full-column highlight, or just a gazillion other features which make column manipulation easier; the author @Coises can chime in at this point).

        CoisesC 1 Reply Last reply Reply Quote 0
        • CoisesC Offline
          Coises @PeterJones
          last edited by

          @PeterJones said:

          Columns++ plugin (though I don’t remember it having the header or full-column highlight, or just a gazillion other features which make column manipulation easier; the author @Coises can chime in at this point).

          There’s nothing in Columns++ for coloring text. The plugin is helpful if you want to do operations on data in visible columns (like right-justify the entries in a column, add the numbers in a column together, search/replace restricted to a column, do calculations to create a new column, sort on a column in situations that don’t work with Notepad++’s built-in sort) and/or to use elastic tab stops to make maintaining visible columns easier. It doesn’t do any coloring, though. Help is here if anyone wants to examine it to judge whether they might want to install Columns++.

          1 Reply Last reply Reply Quote 2

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors