Txt file formatting
-
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
-
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 menusearch->markall->using X style
. -
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 :)
-
ok, then I think the easiest method would be to define
a user-defined language and use its delimiter to make certain text colored. -
That’s it! You answered my query. Many many thanks @Ekopalypse