Community
    • Login

    How to change the keyword for block start?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 241 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.
    • Rory WastR
      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
        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
          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
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors