News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

POIDE Copy Paste LF/CR Error?

Started by Ateneo, May 08, 2005, 07:18:26 PM

Previous topic - Next topic

Ateneo

i usually put the function prototipes in a .h file so i write first the function body in .c file and then copy the "header" of the func, and after that i go to the .h file and i paste this header in the .h file at the end of the file. Well it seems POIDE do not make a LF/CR when i copy it at the end and then appears the compiler warning, so i have to manually do a CR so the warining dont appears any more. But it is some frustrating to have to "do not forger to do a CR"  :) .

Pelle

Nothing will be added when doing a paste. If the text contains a line-break, it will be pasted too - otherwise not.

I might add a check in the future to see if the last line is missing a line-break, and then add one (at least for certain file types).

Pelle
/Pelle