Community
    • Login

    disable highlighting of code blocks

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    8 Posts 4 Posters 1.5k Views
    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.
    • MattexDM
      MattexD
      last edited by MattexD

      Hi everyone, I wanted to know how do I turn off bracket highlighting? I looked in the options but couldn’t find anything, when I open and close a parenthesis it highlights in red.

      Terry RT Alan KilbornA Lycan ThropeL 3 Replies Last reply Reply Quote 1
      • Terry RT
        Terry R @MattexD
        last edited by Terry R

        @MattexD said in disable highlighting of code blocks:

        Hi everyone, I wanted to know how do I turn off bracket highlighting when I’m using a programming language?

        The style configuration (online manual reference here) is where customisation of coloring is. This can be done at a global level or each language. As I haven’t dealt with your issue I’m not sure if you can achieve exactly what you want (if its a built-in lexer) but maybe you can change the colour to a more neutral one, maybe even the colour of non-highlighted text.

        If it’s a UDL (user defined language), see here, you have more control, even to disabling some of the highlighting rules.

        Good luck
        Terry

        MattexDM 1 Reply Last reply Reply Quote 3
        • MattexDM
          MattexD @Terry R
          last edited by

          @Terry-R Thanks for the responde, I also updated my request because this problem persists even when plain text is active, not just when a programming language is enabled

          1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @MattexD
            last edited by Alan Kilborn

            @MattexD

            Terry is on the right track with Style Configurator.

            One way to achieve your goal is:

            • Settings menu > Style Configurator
            • Go to Language and select Global Styles
            • For Style select Default Style and note the Foreground colour and Background colour settings
            • Select Brace Highlight style and set the same Foreground colour and Background colour settings as were shown for Default Style
            • Uncheckmark Bold
            • Press Save & Close

            This should get you to a setup where brackets are shown the same as any other characters you type.

            MattexDM 1 Reply Last reply Reply Quote 5
            • MattexDM
              MattexD @Alan Kilborn
              last edited by

              Thank you very much guys

              1 Reply Last reply Reply Quote 1
              • Lycan ThropeL
                Lycan Thrope @MattexD
                last edited by Lycan Thrope

                @MattexD ,
                Interestingly, what you describe as something you want to get rid of, the people I know of that use Notepad++ really…and I mean really, appreciate that feature.

                We program with dBASE Plus, and I wrote a UDL in NPP for it, and the one feature that is most appreciated is the bracket highlighting, because in dBASE we can write SQL statements, which can get quite long, and when word wrap is on or off in the dBASE editor, you don’t know which bracket belongs to which ending bracket, or if you missed one. That highlighting feature in NPP makes it real easy to see if you missed and/or where the ending paired bracket is. To verify that you have open and closing brackets, you move the cursor to one and it’s partner shows up, letting you know, that bracket pairing is completed.

                Not sure why you want that highlighting stopped, but that’s a very valuable feature…but…if you must you can follow the recommended instructions. :-)

                Alan KilbornA MattexDM 2 Replies Last reply Reply Quote 1
                • Alan KilbornA
                  Alan Kilborn @Lycan Thrope
                  last edited by

                  @Lycan-Thrope

                  To each his own, but from my perspective, I agree with you. Why fight a feature that is trying to help you, and really isn’t harming anything when left on?

                  1 Reply Last reply Reply Quote 3
                  • MattexDM
                    MattexD @Lycan Thrope
                    last edited by

                    @Lycan-Thrope I know but I use it momentarily to simulate a written exam I have to take

                    1 Reply Last reply Reply Quote 2
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors