Navigation

    Community

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

    Backlighting blocks of code in different colors

    General Discussion
    2
    2
    1594
    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.
    • ucy193
      ucy193 last edited by

      What do you think about backlighting blocks of code in different colors e.g:
      https://www.aldec.com/images/content/features/HDL_Editor.png

      • green background colors and comments backlight in yellow?
      1 Reply Last reply Reply Quote 0
      • PeterJones
        PeterJones last edited by

        Settings > Style Configurator > VHDL > COMMENT: Background Color = pick a yellow background to meet your commenting needs.

        However, from what I’ve gathered reading the forums, doing the fancier stuff like choosing a different background based on context (ie, type of block, or number of levels of nested blocks) would probably require that you (or someone you contract or otherwise convince) write a custom lexer or other plugin.

        Disclaimer: I am not an NPP developer, and I do not know the details of writing a custom lexer or plugin, nor the benefits, limitations, or differences thereof. If someone else knows of an easier way, feel free to correct me.

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