MAC script typing format weird

Typically: "How do I... ", "How can I... " questions
zhy149
Posts: 132
Joined: 14 Apr 2021, 20:18

MAC script typing format weird

Post by zhy149 »

Hello,

I find the format like the space and the layout of in-scene script on mac look very weird, is this some compatibility issue?
Thank you!

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: MAC script typing format weird

Post by coppelia »

Hello,

can you share a screenshot? What exactly is weird?

Cheers

zhy149
Posts: 132
Joined: 14 Apr 2021, 20:18

Re: MAC script typing format weird

Post by zhy149 »

coppelia wrote: 21 Feb 2022, 09:25 Hello,

can you share a screenshot? What exactly is weird?

Cheers
hello, yes.
But could you please let me know how to upload image? Thank you!

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: MAC script typing format weird

Post by coppelia »

Please share it via dropBox or similar. Or you can also send it to us directly.

Cheers

zhy149
Posts: 132
Joined: 14 Apr 2021, 20:18

Re: MAC script typing format weird

Post by zhy149 »

coppelia wrote: 21 Feb 2022, 15:37 Please share it via dropBox or similar. Or you can also send it to us directly.

Cheers
https://drive.google.com/file/d/1ZDdJoH ... sp=sharing
https://drive.google.com/file/d/1Qebt-I ... sp=sharing

I put them into a google drive file, thank you!
In the code section, you can see the format is very messy, and when I try to type more code or delete or just move my cursor, it's all very weird.

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: MAC script typing format weird

Post by coppelia »

Can you tell me what macOS version, and what CoppeliaSim version you are using?
Can you try to select a different font by modifying value scriptEditorFont in file coppeliaSim/Contents/macOS/system/usrset.txt?
e.g. Courier, Serif, Georgia, etc.

Cheers

zhy149
Posts: 132
Joined: 14 Apr 2021, 20:18

Re: MAC script typing format weird

Post by zhy149 »

coppelia wrote: 21 Feb 2022, 17:03 Can you tell me what macOS version, and what CoppeliaSim version you are using?
Can you try to select a different font by modifying value scriptEditorFont in file coppeliaSim/Contents/macOS/system/usrset.txt?
e.g. Courier, Serif, Georgia, etc.

Cheers
Hello, yes.
I'm using macOS Monterey (12.1) on MacBook Air 2020 M1, I tried both 4.2 and 4.3 coppeliasim but they are the same on this issue.

zhy149
Posts: 132
Joined: 14 Apr 2021, 20:18

Re: MAC script typing format weird

Post by zhy149 »

coppelia wrote: 21 Feb 2022, 17:03 Can you tell me what macOS version, and what CoppeliaSim version you are using?
Can you try to select a different font by modifying value scriptEditorFont in file coppeliaSim/Contents/macOS/system/usrset.txt?
e.g. Courier, Serif, Georgia, etc.

Cheers
Hello, I tried Courier and Serif, Serif seems to work well now. Thank you very much!

coppelia
Site Admin
Posts: 10375
Joined: 14 Dec 2012, 00:25

Re: MAC script typing format weird

Post by coppelia »

I'd recommend to use a monospaced font, otherwise it will be more difficult to read/write code. Check your system what is available, e.g. Consolas

Cheers

zhy149
Posts: 132
Joined: 14 Apr 2021, 20:18

Re: MAC script typing format weird

Post by zhy149 »

coppelia wrote: 22 Feb 2022, 06:55 I'd recommend to use a monospaced font, otherwise it will be more difficult to read/write code. Check your system what is available, e.g. Consolas

Cheers
Hello, how can I check what kind of fonts my system supports? Thank you!

Post Reply