0

I wanted to know if this would be possible with Notepad++ (even if it means downloading plugins).

Suppose I have a .txt file. This .txt file has some sections that contains some sample C++ code. I wanted to know if it is possible to change the style of the C++ code only (different font and color perhaps) so it appears as code and not just as plain text (as the rest of the document).

I realize that notepad++ is not a super word processor like Microsoft Word but I was just curious.

2 Answers 2

0

Context menu - "Style token". This colores token, ie the word. I cannot color only selected block.

SynWrite app can color selected block: install plugin named "Color Text", and make selection.

0

I used my own custom language and followed this

http://udl20.weebly.com/delimiters.html

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .