Community
    • Login

    How to change the keyword for block start?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 403 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.
    • Rory WastR Offline
      Rory Wast
      last edited by

      Interested in the question. Is there a way to change the keywords for the start of a block?

      Instead of this :
      28030e63-3718-4cc9-91db-7d0b499de1a8-image.png

      Do this way:
      e5a6342e-cc82-4370-aa60-d88efc64ffa1-image.png

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @Rory Wast
        last edited by

        @Rory-Wast ,

        I assume that’s for a specific language. That language’s lexer has the block start/end compiled into the lexer library, so there isn’t a configuration way to do that.

        If you are using a User Defined Language (UDL) using the “Define your language” menu entry, you can choose your own trigger for start-of-block… but then you lose all the fancy stuff that can be part of the builtin lexer that UDL cannot implement.

        Rory WastR 1 Reply Last reply Reply Quote 2
        • Rory WastR Offline
          Rory Wast @PeterJones
          last edited by

          @PeterJones I use the standard Pascal syntax, but this little thing is like a splinter) It’s a pity that you can’t change it. Thanks for the answer.

          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