Navigation

    Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Change Syntax Highlighting ("Language") Characters

    Help wanted · · · – – – · · ·
    language highlighting syntax
    1
    2
    1021
    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 Travis
      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 Travis
        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
        Copyright © 2014 NodeBB Forums | Contributors