• Login
Community
  • Login

How to change the keyword for block start?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 263 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.
  • R
    Rory Wast
    last edited by Nov 17, 2022, 5:16 PM

    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

    P 1 Reply Last reply Nov 17, 2022, 5:21 PM Reply Quote 0
    • P
      PeterJones @Rory Wast
      last edited by Nov 17, 2022, 5:21 PM

      @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.

      R 1 Reply Last reply Nov 17, 2022, 5:25 PM Reply Quote 2
      • R
        Rory Wast @PeterJones
        last edited by Nov 17, 2022, 5:25 PM

        @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
        2 out of 3
        • First post
          2/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors