Comment 5 for bug 1607861

Revision history for this message
Joe White (joe-white) wrote : Re: [1.1.1] osx 10.11.6 sikulix 1.1.0 save error (incomplete string problem) --- when comment contains '

Python doesn't recognize strings in comments.
Seems a user should be able to put most anything
in comment.
I would have never figured this one out, although
I did make some changes in my script before I ran into this
problem trying to save them.
I did uncheck the "delete not used images" box in
the Preferences => more options in 1.1.0 to finally
make the box go away and keep my patterns from being
erased. I never saw any indication as to what caused this problem.
I still have the ' characters in my 1.1.0 script after turning off the "delete not used
images". I would recommend looking for the end of the comment
only. Python allows ''' for a block comment, but this doesn't
work either. I see what I need to do in order to work around this. Thanks.