LOGO

Enable Status Bar & Word Wrap in Notepad - A Quick Guide

May 26, 2016
Enable Status Bar & Word Wrap in Notepad - A Quick Guide

Notepad Status Bar and Word Wrap: Enabling Both Simultaneously

The Windows Notepad application displays the current line and column number of your cursor within the status bar. However, users sometimes encounter a situation where the Status Bar option on the View menu is disabled, appearing grayed out.

This often occurs when Word Wrap is activated. When word wrap is enabled, restricting columns to the Notepad window’s width, enabling the status bar concurrently becomes impossible.

Why the Conflict Exists

The reason for this incompatibility lies in how word wrap affects line breaks. Because word wrap alters line breaks, the line and column numbers displayed in the status bar can become inaccurate.

Despite this potential inaccuracy, it is possible to enable the status bar even with word wrap active. The following steps outline a method to achieve this.

Important Registry Warning

The following procedure requires modifications to the Windows Registry Editor. This is a powerful system tool, and incorrect usage can lead to system instability or render your system unusable.

While this is a relatively straightforward adjustment, exercise caution. If you are unfamiliar with the Registry Editor, it is recommended to familiarize yourself with its operation before proceeding. Back up the Registry and your entire computer before making any changes.

Accessing the Registry Editor

To open the Registry Editor, click the Start button and type "regedit". Press Enter to launch the application, or select "regedit" from the "Best match" results.

You may be prompted to grant regedit permission to make changes to your PC. This prompt may not appear depending on your User Account Control settings.

Navigating to the Notepad Key

Within the Registry Editor’s tree structure on the left panel, navigate to the following key:

HKEY_CURRENT_USER\Software\Microsoft\Notepad

This key stores all configuration settings for the Notepad application. Initially, this key may only contain values related to window positioning. There will be no existing values for word wrap or the status bar.

Keep the Registry Editor window open for the next steps.

Enabling Word Wrap and Observing the Change

Open Notepad and activate "Word Wrap" from the Format menu. This action adds the fWrap (word wrap) and StatusBar values to the Notepad key within the registry.

You will notice that the status bar disappears, and the "Status Bar" option in the View menu becomes grayed out again. Close Notepad to ensure these settings are saved to the registry key.

Modifying the Status Bar Value

Now, the fWrap and StatusBar keys will be present in the Notepad key. The StatusBar value will currently be set to 0, indicating that it is disabled. Double-click on the StatusBar value to modify it.

In the "Edit DWORD (32-bit) Value" dialog box, enter 1 in the "Value data" field and click OK.

Finalizing the Changes

Close the Registry Editor by selecting "Exit" from the File menu.

With this modification, both word wrap and the status bar will now be enabled simultaneously in Notepad.

Important Considerations

If you disable and then re-enable word wrap, the status bar will likely be disabled again. You will need to repeat the process of setting the StatusBar value to 1 to re-enable it.

To revert to the default settings, simply resetting Notepad is recommended. Changing the StatusBar value back to zero may cause inconsistencies between the registry settings and Notepad’s actual configuration.

#Notepad#status bar#word wrap#text editor#Windows#how to