haroldo-ok / sam

SAM - Simple Adventure Maker for the Sega Master System
Apache License 2.0
3 stars 3 forks source link

Word wrapping isn't working entirely correctly #2

Closed haroldo-ok closed 10 years ago

haroldo-ok commented 10 years ago

As reported by 'Zero X. Diamond':

"Another really nitpicky thing, but while it's capable of displaying 30 characters per line, if you attempt to do manual breaks in the text instead of letting it autoformat, it automatically puts a blank line between the line of 30 and whatever comes next. "

"I definitely think it's an issue with the word wrapping routine. I was doing my own formatting because the auto wrap does two odd things. First, if it drops text down from a line that perfectly ends at 30 characters with a space right after, it carries the space down to the beginning of the line. Not a bug, per se, but not usually what word wrapping does. And second, it seems that if a word brings a line over the 30 character limit by only one character, instead of dropping the whole word as usual, it only drops the last letter to the next line."

haroldo-ok commented 10 years ago

Word wrapping bug corrected.