When I tried out some code writing in the latest IDE (2015r2) I was puzzled to see that whenever I typed text into a TextArea’s Text property, it would turn any regular double quote character into a “smart quote” character, i.e.
"hi"
turns into
hi
Even worse, while other apps that do that offer a command under the “Edit” menu to turn this off, I found no such in the Xojo IDE. But whatever - I’d expect that a programming tool would not even do this by default. Yet, the IDE does. Am I the only one seeing this or do the Xojo engineers really think this is a good idea?
Create a new desktop project. Add a constant to the window. Type something in the “Default Value” field of the inspector panel that has quotes. They’ll change to smart quotes.
I noticed this a few days ago when editing some sql that is stored in a constant. I had to resort to writing the sql in a different text editor (jEdit, in my case) and then copy/pasting it into the inspector panel.
I misread Thomas’ original post. The smart quotes do get substituted for TextField/TextAreas, even in the IDE. Smart quotes are not substituted in the code editor.