DFRobot / uPyCraft_src

137 stars 82 forks source link

Linebreaks disappear #1

Closed flodmotorgrodan closed 6 years ago

flodmotorgrodan commented 6 years ago

Using version "uPyCraft_V0.29.exe" on Windows7 when adding code to an existing *.py file and saving - the saved file sometimes has multiple lines of code with no linebreaks.

If IDE is still open and problematic code section lines are copied and pasted to another linebreaks are copied ok.

Not sure what triggers the loss of linebreaks yet.

It is typically noticed after project is debugged and works fine. When source files are reopened you find them not properly saved. If you are lucky you may be able to restore healthy files from the device.

ouki-wang commented 6 years ago

@flodmotorgrodan sorry for the inconvenience, the further version will fix the linebreaks problem.