Hi,
have a piece of code that is crashing my Windows machine (not just the
OpenSCAD application, but the entire machine), and during troubleshooting I
noticed that the fileformat seems to have changed between the previous
version (2014-11-09) and the one I'm running now (2014-12-04).
When opening the .scad file in Notepad++ all the lines have an empty line
between them. So a four line long script ends up as eight lines. The lines
seems to have both a CR and a CRLF, which ends up as double the amount of
lines.
All the .scad files I created in the previous version only use CRLF as EOL
characters.
--
View this message in context: http://forum.openscad.org/Newline-changed-in-scad-files-between-2014-11-09-and-2014-12-04-tp10451.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Are you saying
I use NP++, 1. does not have any extra blank lines, and View/Show-Symbal/All
just shows CRLF at EOL.
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/Newline-changed-in-scad-files-between-2014-11-09-and-2014-12-04-tp10451p10458.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Scenario 1 gives blank lines.
I'm on version 2014-12-04. If I create a new file in OpenSCAD, and open it
using Notepad++ it looks like this:
http://forum.openscad.org/file/n10459/crcrlf.png
If I open up a file I created using the older version it looks good in
Notepad++.
--
View this message in context: http://forum.openscad.org/Newline-changed-in-scad-files-between-2014-11-09-and-2014-12-04-tp10451p10459.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Blink,Blink, light bulb finally lights...
I was using the Simple Editor, when I switched to Scintilla, I can reproduce
this.
I'll raise an issue.
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/Newline-changed-in-scad-files-between-2014-11-09-and-2014-12-04-tp10451p10461.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Added to existing issue 915
https://github.com/openscad/openscad/issues/915#issuecomment-66378005 .
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/Newline-changed-in-scad-files-between-2014-11-09-and-2014-12-04-tp10451p10462.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Also, if I go back to version 2014-11-09, open up a file originally created
in 2014-12-04, and save it, the double lines go away.
--
View this message in context: http://forum.openscad.org/Newline-changed-in-scad-files-between-2014-11-09-and-2014-12-04-tp10451p10475.html
Sent from the OpenSCAD mailing list archive at Nabble.com.
Scalpel78 wrote
Also, if I go back to version 2014-11-09, open up a file originally
created in 2014-12-04, and save it, the double lines go away.
Confirmed this too. Scintilla was doing it correctly, so something changed.
Unless specifically shown otherwise above, my contribution is in the Public Domain; To the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. This work is published globally via the internet. :) Inclusion of works of previous authors is not included in the above.
View this message in context: http://forum.openscad.org/Newline-changed-in-scad-files-between-2014-11-09-and-2014-12-04-tp10451p10574.html
Sent from the OpenSCAD mailing list archive at Nabble.com.