Community
    • Login

    ((BOL)) need...

    Scheduled Pinned Locked Moved General Discussion
    udlsyntaxregex
    4 Posts 2 Posters 667 Views 1 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.
    • IBIT-ZEEI Offline
      IBIT-ZEE
      last edited by

      Hi

      Since there is not yet available the possibility of using RegEx
      for UDL/Syntax coloring…

      I would dare to suggest the introduction of ((BOL))
      (the counterpart of ((EOL))… so is not so alone anymore ;-) )

      I have some languages who need to interpret delimiters
      in a specific way only if they are at the beginning of the line…

      Anyway… i think for the future…
      a Syntax-Color-Parser based in RegEx
      will be much more powerful and flexible…

      something like what Ultraedit uses (can be better though!!!)
      “https://www.ultraedit.com/wiki/Wordfiles”

      PeterJonesP IBIT-ZEEI 2 Replies Last reply Reply Quote 1
      • PeterJonesP Offline
        PeterJones @IBIT-ZEE
        last edited by PeterJones

        @IBIT-ZEE ,

        Great idea. This FAQ explains the only location where feature requests are tracked. If you submit a request, please paste a link in reply here.

        That said, as of this posting there are 41 open issues mentioning UDL, and I cannot remember the last time that a new feature was added to UDL. So if it’s a critical need, you might want a workaround.

        For a workaround, you can add extra highlighting to a UDL language using regexes via the script EnhanceUDLLexer.py that @Ekopalypse shares in this linked post

        IBIT-ZEEI 1 Reply Last reply Reply Quote 3
        • IBIT-ZEEI Offline
          IBIT-ZEE @PeterJones
          last edited by

          @PeterJones Thanks for you answer peter…
          I already try to use Python…
          but bring me other problems… when updating… and performance…
          I think the addition of ((BOL)) for now it will solve this problem…
          but for a bright future… the RegEx native implementation it’s a must!!!

          1 Reply Last reply Reply Quote 0
          • IBIT-ZEEI Offline
            IBIT-ZEE @IBIT-ZEE
            last edited by

            …and here is the link to the GitHub feature request:

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

            1 Reply Last reply Reply Quote 2

            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