tjvr / kurt

Python library for reading/writing MIT's Scratch file format.
https://kurt.tjvr.org
GNU General Public License v3.0
86 stars 24 forks source link

Not saving comments #27

Open Gerhman opened 9 years ago

Gerhman commented 9 years ago

If I add a comment to a script then it is lost once I save a file. You can for example open a file and save it where after all comments attached to blocks will have vanished. Parsing also does not seem to recognize the syntax for comments even though the stringify method/function does have a syntax for comments.

tjvr commented 9 years ago

Are you saving it as a Scratch 1.4 or Scratch 2.0 file?

Gerhman commented 9 years ago

I am having this in Scratch 1.4, I don't know about 2.0 as I am expected to save images of my Scratch scripts and as far as I know 2.0 does not support this.

Gerhman commented 9 years ago

Ok I have checked 2.0 and it also does not work there. In 2.0 though there seems to be even more problem with separate block groups not automatically being spaced correctly

tjvr commented 8 years ago

In 2.0 though there seems to be even more problem with separate block groups not automatically being spaced correctly

Okay, here's a new issue for that: #32

Can you give some example code which you expect to save comments?