Community
    • Login

    How to have colored and numbered blocks?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 894 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.
    • Diego GiurgolaD Offline
      Diego Giurgola
      last edited by

      Hello all, a collegue of mine has this kind of setup on notepad++:

      7216ef9a-c279-405d-b133-1c169d693456-image.png

      How can I achieve to have this kind of colored blocks? Could be very useful for separating different kinds of infos/data.

      Thanks!

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @Diego Giurgola
        last edited by

        @Diego-Giurgola ,

        The colored blocks shown there are the “Change History” feature, which requires v8.4.6 or newer. So those line colors in the margin will change based on which lines have been changed or saved since you started editing the file.

        They are not an “attribute” that you can set, so you cannot say, “in file1.txt, I want lines 1-7 to have a green margin and 8-12 to have an orange margin”, so the feature that you are seeing will not do what I think you want.

        1 Reply Last reply Reply Quote 3

        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