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.
    • Sadiq B. Al-LawatiS
      Sadiq B. Al-Lawati
      last edited by

      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

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Sadiq B. Al-Lawati
        last edited by

        @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
        • Sadiq B. Al-LawatiS
          Sadiq B. Al-Lawati
          last edited by

          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 :)

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE
            Ekopalypse @Sadiq B. Al-Lawati
            last edited by

            @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
            • Sadiq B. Al-LawatiS
              Sadiq B. Al-Lawati
              last edited by

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

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