How to enable word wrap in Toad?
To do that we will need to set the right margin position and enable the word wrap in Toad options.
Go to View / Toad Options:
First go to Editor / Display to modify the position of right margin. Set Visible right margin to the position you want.
Select Editor / Behavior and check the Word wrap option:
Query that was going outside the margin before the changes:
After changes are applied, query is wrapped to the right margin:
See the post on how to enable the word wrap feature in Oracle SQL Developer.