Community
    • Login

    You CAN disable brace highlighting

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 3 Posters 116 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.
    • Ethan GreerE
      Ethan Greer
      last edited by

      Hi, everybody! This relates to my recent thread. I thought I would make a new thread since this is a new development. The previous thread is found here:

      https://community.notepad-plus-plus.org/topic/27023/is-there-a-way-to-disable-brace-highlighting

      So, I’ve learned that you CAN disable brace highlighting, but only for very large files. In Settings > Preferences > Performance, there’s a checkbox, “Allow Brace Match”. I did some poking at it, and I learned that for a large file, you can indeed suppress brace highlighting. I don’t know why they call it “highlighting” in the style configurator and “matching” in the Preferences dialog, probably just an oversight.

      This would mean that there’s already code in place to disable brace highlighting. Do you think that would bode well for the feature request I intend to make?

      Also I wanted to thank everyone for making me feel welcome here. Everyone I’ve talked to so far has been genuinely helpful and I appreciate it.

      CoisesC Alan KilbornA 2 Replies Last reply Reply Quote 2
      • CoisesC
        Coises @Ethan Greer
        last edited by

        @Ethan-Greer said in You CAN disable brace highlighting:

        This would mean that there’s already code in place to disable brace highlighting. Do you think that would bode well for the feature request I intend to make?

        Disabling it would be trivial: just skip the call here:

        https://github.com/notepad-plus-plus/notepad-plus-plus/blob/f5a34dcc9faf752d34e5bdaa4a3d1afa259c1ba6/PowerEditor/src/NppNotification.cpp#L430

        The part that will be hard will be convincing the author that is it worth adding another configuration setting to allow a user to control it.

        Ethan GreerE 1 Reply Last reply Reply Quote 0
        • Ethan GreerE
          Ethan Greer @Coises
          last edited by

          Thanks for the input! If you can toggle HTML tag matching and current line highlighting it seems silly not to extend the courtesy to brace matching. But what do I know? Oh well. I’ll plan to write the feature request tomorrow.

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

            @Ethan-Greer said in You CAN disable brace highlighting:

            This relates to my recent thread. I thought I would make a new thread since this is a new development.

            Poor idea; you should have just continued in the existing thread.

            Ethan GreerE 1 Reply Last reply Reply Quote 1
            • Ethan GreerE
              Ethan Greer @Alan Kilborn
              last edited by

              Well, I submitted a feature request. It is here:

              https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16852

              Any feedback or suggested edits or improvements would be greatly appreciated!

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