big-ab-games / robo-instructus-translation

Translations for programming puzzle game Robo Instructus
Apache License 2.0
10 stars 23 forks source link

long strings in code samples #66

Closed lgb closed 5 years ago

lgb commented 5 years ago

It's in "test" branch with russian translation. Comment in example for "for" loop is too long - it corrupt the debug view.

I can change this comment, but there are may another places with same issue (maybe in another languages).

Can you check it automatical-way? Or increase the width for code examples? Or add horizontal scrolling? Or change height of block in this case....

image image

alexheretic commented 5 years ago

Good spot, this is a limitation with how they're rendered currently. I'll take a look tomorrow to see if I can make it more rugged.

alexheretic commented 5 years ago

I've pushed a fix that will support comment wrapping properly. That should fix this issue.

There can still be some related issues at some window sizes if the inline debugging output wraps, but it's less obvious to me a good workaround & it's also less likely to happen in these examples.