Community

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

    Negative number highlighting with Scheme

    Help wanted · · · – – – · · ·
    scheme style colouring style config language
    3
    3
    59
    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.
    • C
      carlos navarro last edited by carlos navarro

      hi, i was wondering if there is a way to fix negative number highlighting with Scheme in NPP? whenever i have a negative number, the colour doesn’t match the style for Numbers i have, and instead matches the style of Identifier. attached is a picture:

      https://i.imgur.com/lbeh5EJ.png

      basically asking if there’s a way to make the -1 match the colour of the other numbers. its a pretty small detail but thought i’d ask anyways. thanks for any help!

      edit: oops i guess uploading the image didn’t work, put an imgr link instead.

      Ekopalypse 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn last edited by Alan Kilborn

        Posting image directly:

        c619333b-b4b7-4af0-a215-25a57cf2cad8-image.png

        1 Reply Last reply Reply Quote 0
        • Ekopalypse
          Ekopalypse @carlos navarro last edited by

          @carlos-navarro

          One way to get around this limitation is to use something like my EnhanceAnyLexer.py script.

          1 Reply Last reply Reply Quote 2
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors