Mimic icon indicating copy to clipboard operation
Mimic copied to clipboard

Mac OSX TextEdit character incompatibility.

Open dirthsj opened this issue 10 years ago • 3 comments

Annoyingly enough, TextEdit uses “ instead of ", causing all sorts of errors if I try to test my scripts...

print( string.byte( [[“]] ) )
print( string.byte( [["]] ) )

It errors like so in most scripts (not the example since it's in a string, but still ):

string[ "name" ]:ln: unexpected symbol near 

dirthsj avatar Jul 14 '14 03:07 dirthsj

The only thing I can say really is to not use TextEdit, it's not designed to be a code editor. Use something like Sublime Text or even the built-in editor.

oeed avatar Jul 14 '14 04:07 oeed

I second the motion for Sublime Text. Even better, see if you can find the CC syntax highlighting package that someone (GravityScore maybe?) wrote a while back.

dmarcuse avatar Jul 14 '14 13:07 dmarcuse

Yeah, normally I do use sublime text + CC package, but occasionally I do code on my school issued macbook air, which of course doesn't allow me to install anything.

dirthsj avatar Jul 14 '14 15:07 dirthsj