fixy icon indicating copy to clipboard operation
fixy copied to clipboard

Custom line endings aren't working yet

Open stenzer opened this issue 9 years ago • 1 comments

I tried using the new cr/lf line ending as documented:

set_line_ending Fixy::Record::LINE_ENDING_CRLF

And.... no change to the line endings. Looking into the code a bit, the line ending seems to be held in an instance variable and accessed from a class method, which could explain the problem... and I'm not sure what the intention was, so I'm reporting it rather than trying to fix it. Thanks!

stenzer avatar May 05 '15 22:05 stenzer

@stenzer Can you provide more context for the Record definitions you're using the line endings? Things seem to be working as expected in my uses.

Also if you generate a file (using Document#generate_to_file for example) and run file your_file.txt what're the line endings that are detected?

samkim avatar May 19 '15 21:05 samkim