So I’ve been working on my little tank prototype, just learning how things work, and I keep coming across a pretty fundamental problem with word wrapping.
In short, if I am working with the reference sidebar up, the edit area gets pretty narrow. When text starts wrapping in this instance, the cursor isn’t actually drawn in the right spot, and things get really weird.
for example:
terrain=Terrain(0,HEIGHT*0.1,WIDTH,HEIGHT*.9)
this wraps like this:
terrain=Terrain(0,HEIGHT*0.1,WIDTH,HEIGHT*.
9)
put the cursor at the beginning of the line and move to the right one space at a time. When you go right 3 spaces, the cursor suddenly jumps to the beginning of the second line. The actual insertion of text goes where you’d expect, but the cursor is drawn in the wrong space.
This seems to be a word wrapping issue, since as soon as I put a space anywhere in the line, the problem goes away.