Word wrap in code window?


I’m writing some code that includes long lines of text which extend beyond the code editing window (the window identified by the { } icon). I’d love to turn on word wrap there - is there a way to do that? I looked in Preferences, and there’s not much there, and there’s nothing from the obvious searches (such as “word wrap”) on this site.

Thank you!



Are you working in JavaScript or BASIC?


I notice from your other message that you’re using BASIC.

The best strategy for readable code is to break these long statements up, either by breaking them into two or more statements or by using the underscore line continuation character:

theResult = one + two + three + four + five + six + seven + eight + _
  nine + ten + eleven + twelve