You CAN disable brace highlighting
-
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.
-
@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:
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.
-
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.
-
@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.
-
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!