Friends

Wednesday, June 1, 2011

Bug in Windows Notepad Statusbar

1. Open Notepad and enable "Status Bar" from "View -> Status Bar". If this option is disabled, then first uncheck "Format -> Word Wrap" option and now enable Status Bar again. Actually Notepad doesnt allow to have Status Bar along with Word Wrap feature. You can have one of them enabled at a time. But there is a registry hack, using it you can have both of them at the same time. Type regedit in RUN dialog box and press Enter. Now goto:
HKEY_CURRENT_USER\Software\Microsoft\Notepad
In right-side pane, change value of StatusBar to 1.
2. Now open any existing text file (Yeah, you have to open an already saved file to check this BUG) and put your cursor to any line, you'll see its location in Status Bar.
e.g. we assume that you put the cursor at column 3 of Line 3, then it'll show "Ln 3, Col 3" in Status Bar.
OK, fine then whats the BUG? Now press <Ctrl>+S or Choose "File -> Save" and look at the Status Bar. VOILLA, it'll show "Ln 1, Col 1" irrespective of the actual Line and column Number, that was "Ln 3, Col 3" in our case.
Sometimes you may have to press <Ctrl>+S twice to re-create this BUG.
So the BUG is whenever you save an existing file, Notepad will show "Ln 1, Col 1" in Status Bar and it'll be corrected when you'll move the cursor.

0 comments:

Post a Comment

#
### ###