Community
    • Login

    Change Syntax Highlighting ("Language") Characters

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    languagehighlightingsyntax
    2 Posts 1 Posters 1.3k 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.
    • Stefan TravisS
      Stefan Travis
      last edited by

      Is it possible to change which characters can be used for syntax highlighting?

      Specifically, the “Language” function let you use characters and strings of ASCII characters, in the Unicode range 21-7F, to define text colouring. This includes the obsolete “Deleted Character” code (7F), but excludes the space (20). I want to use the control code characters 01-1F.

      Are there Scintille or NppExec functions to do this?

      1 Reply Last reply Reply Quote 0
      • Stefan TravisS
        Stefan Travis
        last edited by Stefan Travis

        Update: Charcters outside the range 21-7F can form part of delimiter strings, but the strings must contain 21-7F characters.

        So, if “$” here represents code 1B - the “Escape” character - these would valid strings:

        $Start
        Finish$
        Modif$ier

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors