Notepad++ extra newline -


i have c app logs file.

i installed monitor plugin notepad++ automatically update, similar 'tail' on linux.

my app writes lines \n\r @ end ( e.g. fprintf(fp, "%s\n\r","test"); )

i like:

line 1  line 2 

instead of

line 1 line 2 

when viewing (no matter eol conversion) 'view->show symbol->show end of line' see:

line 1[cr][lf] [cr] line 2[cr][lf] [cr] 

it if treating \n [cr][lf] , \r [cr] adding line.

any ideas?

try using \n. windows sees \n new line \r carret return causes break line, if u use \r\n cause 1 line break.

also can check this article additional reading.


Comments

Popular posts from this blog

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -