Community
    • Login

    Is there a way to better distinguish between parentheses and braces?

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 4 Posters 1.0k 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.
    • 1 Offline
      1der1
      last edited by

      Most programming languages use a lot of parentheses and curly braces.

      Unfortunately, these look similar, mainly if you use a small font.

      Is there a way to make them more different?

      One way would be to allow different Notepad++ styles (including highlighting colour) for each type.

      Thank you for considering,

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

        @1der1

        I have never had trouble distinguishing parentheses and curly braces.
        Just how small of a font (and which font) are we talking about here?

        1 1 Reply Last reply Reply Quote 0
        • 1 Offline
          1der1 @Alan Kilborn
          last edited by

          @Alan-Kilborn, my screen resolution is 3840 x 2160. That means a lot of screen space, but the fonts look small.

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE Offline
            Ekopalypse @1der1
            last edited by

            @1der1

            Most, if not all, programming languages unfortunately use the same styles for the different brackets.
            There is a plugin called EnhanceAnyLexer, of which I am the developer, that allows you to change the color afterwards using regular expressions. I am working on how to change individual styles as well, but unfortunately there are some obstacles that I have not yet been able to overcome. At least not without introducing noticeably worse performance.

            1 Reply Last reply Reply Quote 3
            • NicholasN Offline
              Nicholas
              last edited by

              Monoid is a customisable open source font designed for writing code in. https://larsenwork.com/monoid/

              There are other fonts out there as well if you search the web.

              1 Reply Last reply Reply Quote 0

              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