Open justvanrossum opened 4 years ago
Hm, it actually doesn't keep indentation at all at the moment.
Actually, there is still bad behavior with indentation, even after #353:
After typing the definition of a method, typing return after the colon makes the cursor go to the first (unindented) column, but magically jumps to the correct indentation if you start typing.
Using arrow left/right keys from one line to the previous is behaving weirdly.
this issue is been reported here https://forum.robofont.com/topic/757/rf-drawbot-misleading-cursor-position-in-scripting-window/13
and it seems to occur based on the selected font...
this issue is been reported here https://forum.robofont.com/topic/757/rf-drawbot-misleading-cursor-position-in-scripting-window/13
and it seems to occur based on the selected font...
Ouch. Switching from Input Mono to Menlo seems to fix it for me. Pretty sure this is an OS bug. We should keep this open until this is confirmed or fixed.
I can't reproduce this anymore on 10.15.3.
It seems that this issue happens with some fonts, I noticed it when using Zeitung Mono Pro on macOS 10.14.6 No new info about what ca be? Maybe is something that need to be fixed on the font?
No new info. I thought I actually saw it happen again on 10.15.3, but I can't immediately reproduce it on 10.15.4. I'll try using Input Mono for a while again, and will see what will happen.
This is the first time I hear this reported on 10.14, though, so I wonder whether it's even the same issue.
Even if the behavior is caused by something in the font, it's still an OS bug IMO: I see no reason why a font should (be able to) influence indentation behavior.
Need to investigate. I don't see error messages.