Menu

Washed out colours with highlighting

muffinimal
2008-05-22
2012-11-13
  • muffinimal

    muffinimal - 2008-05-22

    Somehow notepad++ insists on not using the colours I have defined in the Styler Configurator. This problem occurs for the Find mark, smart highlighting and incremental highlighting-styles (I guess there are a couple more). Instead of using the colours I have defined, a washed-out version of the colour is displayed. So, when I have defined bright red as the background colour, then a light-pinkish blackground is shown (the foreground colour is actually ignored with the Find Mark style).

    Why is this? Is this the enhanced visual effect of the mark all feature? Am I doing something wrong here? Can I turn this option off? I just want the program to do what I tell it to ;-)

     
    • Harry

      Harry - 2008-05-22

      The washed out colors are a result of Scintilla drawing the markings transparent, which unfortunately isn't configurable. Because the background is (default) white, it'll look washed out.
      The forground color options is a leftover from older versions, and is being ignored, since only the background can be set.

       
    • muffinimal

      muffinimal - 2008-05-23

      Hmm... That really is too bad. The marker-feature was quite powerful in the previous version. Now, with the markers just poorly visible, the effectivity of the marking-functionality has drastically fallen ;-(

      Is there any way to set the level of transparency is this Scintilla-thing?

       
    • Dave S.

      Dave S. - 2008-05-26

      I am also having difficulty with the SAME issue.

      Is there ANYWAY to get the marker colours to work properly?

      While I humbly appreciate the free/by donation software, in my humble opinion, users would gladly trade the excessive colour options for fewer options that actually WORK properly. My issue is specifically with Global Styles/Mark Colour/Foreground Colour - not working.

      Any suggestions in this matter are appreciated.

      Thank you.

       
    • DV

      DV - 2008-05-26

      Open the file "stylers.xml", go to the end of this file and you'll see a section named "GlobalStyles". This section, in particular, contains two items: "Mark colour" and "Find Mark Style". You can set any colour here, any colour you like and which looks good for you.
      The file "stylers.xml" is located inside Notepad++'s folder if your Notepad++ was not installed (i.e. was unpacked from the zip-archive) or located somewhere in your "Documents and Settings\...\Notepad++" if Notepad++ was installed on your PC.

       
      • muffinimal

        muffinimal - 2008-05-26

        Hi DV,

        How does that help? It seems to me that the colours specified in stylers.xml is the same as I have configured them in notepad++ using the Styler configurator. Am I missing something here?

         
        • Harry

          Harry - 2008-05-26

          Unfortunately, like I said, the alpha is hard coded into Scintilla like this:
          surface->AlphaRectangle(rcBox, 1, fore.allocated, 30, fore.allocated, 50, 0);
          30% alpha for the fill, 50% alpha for the edges (if that says anything).
          I can try to make it some sort of option, but that requires a new Scintilla hack, which can cost quite some effort/time.
          I do agree the visibility is somewhat poor (I don't know if its 70% visible or 30%, but either way its not enough).
          Maybe forcing it to 50 will do the job, but I have no idea.
          I'm running a little short on time lately so I cant work with it too much, and there are more critical problems right now, like the -n## command line option not working right (either it works with a bug, or it works only half but without the bug. Working completely without the bug requires some rewriting :P

          -Harry

           
        • DV

          DV - 2008-05-27

          Yes, the colours are the same, but inside "stylers.xml" you can set the colour's numeric value directly - it could be better if you know exact value of the colour you want. I thought if the colour is not bright enough for you, you could try to encrease its corresponding numeric value.

           
          • muffinimal

            muffinimal - 2008-06-03

            Ah, I get it. It's actually exactly what I did after you posted this, thanks ;-)

             
          • Harry

            Harry - 2008-05-27

            The colors right now are something like pure RGB, it doesn't get much brighter than that :).

            The next release will have better visible indicators which are more opaque.

             
            • muffinimal

              muffinimal - 2008-06-03

              Great! Can't wait for the next release. Thanks for the explanation and good luck with the other bugs!

               
MongoDB Logo MongoDB