记事本状态栏不会自动_如何在记事本中同时启用状态栏和自动换行
記事本狀態(tài)欄不會自動
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.
Windows記事本中的狀態(tài)欄顯示光標(biāo)位置的當(dāng)前行號和列號。 但是,如果您發(fā)現(xiàn)“視圖”菜單上的“狀態(tài)欄”選項顯示為灰色,則可能是因為您啟用了“自動換行”功能。
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.
如果啟用了自動換行,使您的列限制在“記事本”窗口中,則也無法啟用狀態(tài)欄。 這是因為自動換行會打斷換行符,從而使?fàn)顟B(tài)欄上的行號和列號始終不準(zhǔn)確。
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.
但是,如果您仍然想啟用狀態(tài)欄,盡管它可能存在誤差,我們將向您展示一個簡單的技巧,即使打開自動換行功能,也可以使?fàn)顟B(tài)欄選項可用。
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.
標(biāo)準(zhǔn)警告:此過程涉及更改注冊表編輯器,它是一個功能強(qiáng)大的工具。 錯誤地使用注冊表編輯器會使您的系統(tǒng)不穩(wěn)定甚至無法運(yùn)行。 這是一個非常簡單的技巧,只要您仔細(xì)按照說明進(jìn)行操作,就不會有任何問題。 也就是說,如果您以前從未使用過它,請在開始之前考慮閱讀有關(guān)如何使用注冊表編輯器的信息。 并在進(jìn)行更改之前一定要備份注冊表(和您的計算機(jī)!)。
Open the Registry Editor by clicking on Start and typing “regedit.” Press Enter to open Registry Editor, or click on regedit under Best match.
通過單擊開始并鍵入“ regedit”,打開注冊表編輯器。 按Enter打開注冊表編輯器,或單擊“最佳匹配”下的regedit。
Give regedit permission to make changes to your PC.
授予regedit權(quán)限以對您的PC進(jìn)行更改。
NOTE: You may not see this dialog box, depending on your User Account Control settings.
注意:根據(jù)您的“用戶帳戶控制”設(shè)置,您可能看不到此對話框。
In the tree structure on the left, navigate to the following key:
在左側(cè)的樹結(jié)構(gòu)中,導(dǎo)航到以下鍵:
HKEY_CURRENT_USER\Software\Microsoft\NotepadThe 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.
記事本鍵存儲記事本的所有設(shè)置。 在記事本的初始狀態(tài)下,該鍵的唯一值是窗口位置值。 請注意,自動換行和狀態(tài)欄設(shè)置沒有任何值。 使注冊表編輯器保持打開狀態(tài)。
Open Notepad and turn on “Word Wrap” in the Format menu. This adds the word wrap ( fWrap ) and status bar ( StatusBar ) values to the Notepad key in the registry.
打開記事本,然后在“格式”菜單中打開“自動換行”。 這會將自動換行( fWrap )和狀態(tài)欄( StatusBar )值添加到注冊表中的記事本項。
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.
請注意,狀態(tài)欄消失了,“視圖”菜單中的“狀態(tài)欄”選項顯示為灰色。 關(guān)閉記事本以將這些設(shè)置保存到記事本注冊表項中。
Now, the fWrap and StatusBar keys?have been added to the Notepad key. Currently, the StatusBar value has zero as it’s value data, indicating it’s disabled. Double-click on the StatusBar value.
現(xiàn)在, fWrap和StatusBar鍵已添加到記事本鍵。 當(dāng)前, StatusBar值的值數(shù)據(jù)為零,表示已禁用。 雙擊StatusBar值。
On the Edit DWORD (32-bit) Value dialog box, enter ?1 ?in the “Value data” edit box and click “OK”.
在“編輯DWORD(32位)值”對話框中,在“值數(shù)據(jù)”編輯框中輸入1 ,然后單擊“確定”。
Close the Registry Editor by selecting “Exit” from the File menu.
通過從文件菜單中選擇“退出”,關(guān)閉注冊表編輯器。
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 StatusBar value to ?1 ?again to be able to have both enabled.
現(xiàn)在,自動換行和狀態(tài)欄同時啟用。 但是,如果關(guān)閉自動換行然后再打開,狀態(tài)欄將再次被禁用。 您必須再次將StatusBar值設(shè)置為1才能同時啟用它們。
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.
如果要將自動換行和狀態(tài)欄恢復(fù)為正常設(shè)置,請重置記事本。 僅將StatusBar值的值更改回零似乎只會使記事本感到困惑,并且記事本中的值和設(shè)置不一定會匹配。
翻譯自: https://www.howtogeek.com/256491/how-to-enable-the-status-bar-and-word-wrap-at-the-same-time-in-notepad/
記事本狀態(tài)欄不會自動
總結(jié)
以上是生活随笔為你收集整理的记事本状态栏不会自动_如何在记事本中同时启用状态栏和自动换行的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 美国用户现在可以下载其所有Apple帐户
- 下一篇: mac 不能连接wi-fi_如何阻止Ma