• Login
Community
  • Login

Txt file formatting

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 2 Posters 1.6k 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.
  • S
    Sadiq B. Al-Lawati
    last edited by Feb 11, 2021, 5:49 AM

    Hi,

    I use Notepad++ for taking notes at office. Often, I find myself wanting to use // or /* */ to highlight text that I want to get to later or search.

    Is there a way I can achieve that without changing the language in style configurator?

    –Sadiq

    E 1 Reply Last reply Feb 11, 2021, 1:57 PM Reply Quote 0
    • E
      Ekopalypse @Sadiq B. Al-Lawati
      last edited by Feb 11, 2021, 1:57 PM

      @Sadiq-B-Al-Lawati

      not quite sure if I understand correctly, but if you want to highlight text then select the text and use either the context menu->style token or the main menu search->markall->using X style.

      1 Reply Last reply Reply Quote 1
      • S
        Sadiq B. Al-Lawati
        last edited by Feb 14, 2021, 11:12 AM

        Thanks @Ekopalypse for getting back to me.

        What you mentioned does what I need kinda but need to automate that when for example I put text after // (for comments in C++) or between /* */ or maybe between <> to highlight specific/important text while taking notes.

        I hope that’s clear to what I previously wrote :)

        E 1 Reply Last reply Feb 14, 2021, 1:28 PM Reply Quote 0
        • E
          Ekopalypse @Sadiq B. Al-Lawati
          last edited by Feb 14, 2021, 1:28 PM

          @Sadiq-B-Al-Lawati

          ok, then I think the easiest method would be to define
          a user-defined language and use its delimiter to make certain text colored.

          1 Reply Last reply Reply Quote 2
          • S
            Sadiq B. Al-Lawati
            last edited by Feb 15, 2021, 10:55 AM

            That’s it! You answered my query. Many many thanks @Ekopalypse

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