Page 1 of 1
Double quotation marks or single?
Posted: Sat Feb 08, 2020 8:25 pm
by Bum_McFluff
I am using Editra to write my code, but have found that almost all guides, including this forum, use double quotation marks eg. "xyz" when showing how to write something. Whenever I have an issue, it seems to be fixed when I change my "xyz" to single quotation marks eg. 'xyz'. Is this common? Is it an issue at all? Or is Editra at fault and what editor should I be using?
Re: Double quotation marks or single?
Posted: Sun Feb 09, 2020 1:05 pm
by rames44
Without knowing what kinds of problems you’ve had that were fixed by changing quote types, it’s hard to advise you. Ren’py is Python-based, and in most cases, Python is agnostic as to which quote types you use. (Unless you’re embedding quotes inside quoted strings.). Seems unlikely it would be the editor at fault, but, of course, that’s an assumption on my part, and you know what happens when you assume...
I use the Atom editor that Ren’py integrates and have been very happy with it. It has Ren’py syntax highlighting, which I nice. That being said, editors are a very personal choice - you like the one you like because you like it and are familiar with it.
Re: Double quotation marks or single?
Posted: Sun Feb 09, 2020 2:48 pm
by rayminator
if you want to us double quotation in a dialogue you can do it this way if that what you meant
Re: Double quotation marks or single?
Posted: Sun Feb 09, 2020 3:10 pm
by trooper6
It shouldn't make a difference between double and single quotes. Though it is important that there are those fancy curved quotes that editors sometimes switch you to that won't work.
All of that said, I'd recommend dumping Editra for Atom. I used to be an Editra user, but is hasn't been updated by the creators in years, and basically stopped working on the Mac. Atom is now the supported editor once I switched to that I had no more problems.
Re: Double quotation marks or single?
Posted: Sun Feb 09, 2020 5:49 pm
by rames44
Yes, of course, you DO have to watch out for those “curly quotes” some editors will try to foist off on you...

Re: Double quotation marks or single?
Posted: Tue Feb 11, 2020 8:57 pm
by Bum_McFluff
I think I have answered my own question. The issue seemed to be when there was a contraction in the dialogue eg don't. I will stick with Editra for the time being, and if it comes up again, I'll think about possibly changing. Thanks for the feedback.