Answer 1. Enable word-wrap mode
To enable the word-wrap mode:
Check the
Wrap at column option under "
Edit | Preferences | Editor
".
Answer 2. Toggle word-wrap mode using the menu
To temporarily toggle the word-wrap mode:
Select "
View | Editor | Word Wrap
" from the main menu.
Answer 3. Toggle word-wrap mode using a keyboard shortcut
To assign a keyboard shortcut to the word-wrap command:
The following steps can be used to assign the "View | Editor | Word Wrap
" main menu option to a keyboard shortcut such as "Ctrl+Shift+W".
- Select "
Tools | Customize | Customize Keyboard Shortcuts
" from the main menu.
- Click the "
Add
" button.
- Press a key (such as "Ctrl+Shift+W") or pick a key from the drop-down menu under the "
Shortcut Key
" field.
- Click the "
Menu command
" radio button.
- Select "MViewWordWarp" from the drop-down list.
- Click the "
Add
" button.
- Click the "
OK
" button to close the "Shortcut Key
" dialog.
- Click the "
OK
" button to close the "Keyboard Shortcuts
" customization dialog.
Pressing "
Ctrl+Shift+W" (or the assigned keyboard shortcut) will now invoke the "
View | Editor | Word Wrap
" main menu option.
Answer 4. Related plugins
To add a button to the Actions Bar that can be used to toggle the word-wrap mode:
Provides quicker access to some of the hidden menu command such as "Word Wrap," "Show Hidden Characters," "Insert/Save Template/Snippet", "Show/Hide Workspace/Messages," etc.