Community

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

    Highlighting characters based on character count

    Help wanted · · · – – – · · ·
    2
    2
    75
    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.
    • Ken aRf
      Ken aRf last edited by

      I’m looking for a way to highlight characters at a specific position on each line.
      For example, I need to highlight the 40, 41, and 42 character of each line. Is there a way to do this using the user-defined language?

      Alan Kilborn 1 Reply Last reply Reply Quote 1
      • Alan Kilborn
        Alan Kilborn @Ken aRf last edited by

        @Ken-aRf

        While it doesn’t highlight the character itself, I would suggest using the vertical edge feature:

        5772c6e2-7374-4588-a0bb-30035efab919-image.png

        This forms a nice “bracketing” of the columns you are interested in.

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