• Login
Community
  • Login

Applying a style to specific areas of a file.

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
stylehighlighting
2 Posts 2 Posters 339 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.
  • I
    intel4004u
    last edited by Jul 9, 2019, 2:51 PM

    I’m using NP++ to create a worksheet (list of tasks) and the idea is to embed lines called hint lines if I get stuck with any of the tasks listed. What I want to know is can I apply a style to just the hint lines so they are not visible i.e. make the text and background the same colour, until I highlight them. I can do this in Word but much prefer using NP++ so any help is appreciated.

    E 1 Reply Last reply Jul 9, 2019, 3:34 PM Reply Quote 0
    • E
      Ekopalypse @intel4004u
      last edited by Jul 9, 2019, 3:34 PM

      @intel4004u

      the easiest solution would be to define your own language and define, for example, the comment to have the same fore- and background color. Of course this means, that
      your hints must always start with the defined comment char.

      1 Reply Last reply Reply Quote 3
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors