Community
    • Login

    Selected text color issue?

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 3 Posters 1.6k 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.
    • Diehl WithItD Offline
      Diehl WithIt
      last edited by

      I don’t know when this started but when I select using Alt I get a different color than expected.

      This is normal selection without using Alt.
      17c3ddfa-a997-46d7-b19e-e1d1ce1b7f6c-image.png

      But using Alt to select text, I get an different background color such as on line 4, note below
      45fb1ea1-a6f2-4c48-ad00-2caee465356e-image.png

      The even more odd part is that this color is only present when notepad++ is the active window. If another window is active then it goes back to the normal selected color, as shown below.

      e1439973-df2e-4aed-a78b-531e83b0ddb2-image.png

      rdipardoR PeterJonesP 2 Replies Last reply Reply Quote 0
      • rdipardoR Offline
        rdipardo @Diehl WithIt
        last edited by

        Do you have the CSVLint plugin installed?

        • https://github.com/BdR76/CSVLint/issues/85
        • https://github.com/BdR76/CSVLint/issues/77

        I don’t know when this started . . .

        If I guessed rightly, then v8.6 is the answer: https://community.notepad-plus-plus.org/post/90967

        Diehl WithItD 1 Reply Last reply Reply Quote 1
        • Diehl WithItD Offline
          Diehl WithIt @rdipardo
          last edited by

          @rdipardo I do not. I have the following installed:
          9899e646-1d45-4d61-a722-55a596812562-image.png

          Sadly i didn’t think about removing my plugins to test but did so now and I’m still experiencing the same behavior without any plugin installed.

          1 Reply Last reply Reply Quote 0
          • PeterJonesP Offline
            PeterJones @Diehl WithIt
            last edited by

            @Diehl-WithIt said in Selected text color issue?:

            I don’t know when this started but when I select using Alt I get a different color than expected.

            Starting in 8.6, Column-Select (Alt+Select) and Multi-select are conjoined more intimately. And there is a specific Style for the Multiple Selection highlight, so you can tell the difference.

            724753fe-0ca4-488f-8693-4c687987a6bb-image.png

            Your Style Configurator screenshots don’t show the Multi-selected text entry that I’ve clicked on in the screenshot, which means your copy of stylers.xml is out of date.

            • Exit Notepad++ completely.
            • Open Notepad++ with files c:\program files\notepad++\stylers.model.xml and %AppData%\Notepad++\stylers.xml
            • In the <GlobalStyles> sections at the end, copy the <WidgetStyle name="Multi-edit carets color" ... line from stylers.model.xml into your ``%AppData%\Notepad++\stylers.xml` and save.
            • Close Notepad++ completely.
            • Open Notepad++. Your Alt+Selection text should now be in bgcolor 0xC0C0C0, and your Style Configurator will now see the Multi-selected text entry available for changing the colors on.

            For users who are using a different theme than the default (stylers.xml), you will need to do the same, but using %AppData%\Notepad++\themes\ThemeNameHere.xml as the destination file.

            Diehl WithItD 1 Reply Last reply Reply Quote 3
            • Diehl WithItD Offline
              Diehl WithIt @PeterJones
              last edited by

              @PeterJones Legit, you the man.
              13048f20-e1b3-40ad-bbb4-1371331f4532-image.png

              There were many styles I was missing so I’ve updated my styles.xml with them all now.

              Thanks.

              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