• Login
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.
  • U
    ucy193
    last edited by Oct 26, 2016, 1:15 PM

    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
    • P
      PeterJones
      last edited by Oct 26, 2016, 2:01 PM

      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
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors