Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Copying and Pasting into NotePad++ and preserving colours/Styles

Tags:

notepad++

Does anyone know how to copy and paste some code into Notepad++ and preserve all the styles and colors of the pasted text?

like image 255
Rifki Avatar asked Jan 24 '26 18:01

Rifki


1 Answers

Plain text does not have formatting.

What you are asking for is not possible.

If you mean that you are seeing colors/styles in one IDE, that's because the IDE "understands" the format and shows your the text in colors. This doesn't mean that the text itself has associated color.

Notepad++ has syntax highlighting for many languages/formats - select the appropriate one from the Language menu.

Some document formats do have color/styles (exmaples: RTF, HTML).

like image 165
Oded Avatar answered Jan 26 '26 21:01

Oded



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!