Community
    • Login

    Backlighting blocks of code in different colors

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 2.0k 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.
    • ucy193U
      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
      • PeterJonesP
        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
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors