Search: Advanced search
Browse by category:
How to Enable the Status Bar and Word Wrap at the Same Time in Notepad
The status bar in Windows’ Notepad displays the current line number and column number of the cursor location. However, if you find that the Status Bar option on the View menu is grayed out, it may be because you have Word Wrap enabled.
If you’ve enabled word wrap, which keeps your columns restricted to the Notepad window, you cannot also enable the status bar. That is because word wrap screws up line breaks, making the line number and column number on the status bar not accurate all the time.
However, if you want to enable the status bar anyway, despite its possible inaccuracy, we’ll show you an easy trick to make the status bar option available even when word wrap is on.
Standard warning: This procedure involves making changes to the Registry Editor, which is a powerful tool. Using the Registry Editor incorrectly can render your system unstable or even inoperable. This is a pretty simple hack and as long as you follow the instructions carefully, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry(and your computer!) before making changes.
Open the Registry Editor by clicking on Start and typing “regedit.” Press Enter to open Registry Editor, or click on regedit under Best match.
Give regedit permission to make changes to your PC.
NOTE: You may not see this dialog box, depending on your User Account Control settings.
In the tree structure on the left, navigate to the following key:
The Notepad key stores all the settings for Notepad. In Notepad’s initial state, the only values for that key are window position values. Notice that there are no values for the word wrap and status bar settings. Leave the Registry Editor open.
Open Notepad and turn on “Word Wrap” in the Format menu. This adds the word wrap (
Notice that the status bar goes away and the “Status Bar” option in the View menu is grayed out. Close Notepad to save these settings into the Notepad registry key.
On the Edit DWORD (32-bit) Value dialog box, enter
Close the Registry Editor by selecting “Exit” from the File menu.
Now, word wrap and the status bar are enabled at the same time. However, If you turn off word wrap and then turn it back on, the status bar will be disabled again. You must set the
If you want to put word wrap and the status bar back to their normal settings, reset Notepad. Simply changing the value of the StatusBar value back to zero only seems to confuse Notepad and the values and what’s set in Notepad won’t necessarily match.