Interesting Notepad BUG

  • Thread starter Mr. Vista // Vishal Gupta
  • Start date

M

Mr. Vista // Vishal Gupta

Guys!

Today I found a BUG in Notepad, I have checked it in XP as well as in Vista
and its working in both of them.

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.

Now open any existing text file (Yeah, you hv 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.

http://img245.imageshack.us/img245/1964/notepadbugaj3.jpg

Sometimes you may hv 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.

Regards,
Vishal Gupta
 
Ad

Advertisements

L

Lanwench [MVP - Exchange]

Mr. Vista // Vishal Gupta said:
Guys!

Today I found a BUG in Notepad, I have checked it in XP as well as in
Vista and its working in both of them.

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.

Now open any existing text file (Yeah, you hv 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.
http://img245.imageshack.us/img245/1964/notepadbugaj3.jpg

Sometimes you may hv 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.
Regards,
Vishal Gupta

Since you're an MVP, I'm sure you have contacts in the Windows dev groups
and can mention this to them. Not sure what purpose this has in a public
newsgroup designed for technical support.
 
L

Lanwench [MVP - Exchange]

Kelly said:
And gals?

Eh. I'm a woman, but would much rather be a "guy" in slang - "gal" sounds
dated, and somehow a bit condescending. Perhaps that's just me.
 
L

Lanwench [MVP - Exchange]

Kelly said:
I hear you.....was just a dig! :blush:)
Many folks here think I am male.

Me too - I see a lot of "Thanks, Lawrence" stuff.
Here in the southern part of Louisiana we're all guys: You guys, yall
guys....

We don't have y'all up here, but we do have guys.
"Lanwench [MVP - Exchange]"
Eh. I'm a woman, but would much rather be a "guy" in slang - "gal"
sounds dated, and somehow a bit condescending. Perhaps that's just
me.
 
Ad

Advertisements

K

Kelly

Am still having trouble believing it is a man's world. <wink>
--

All the Best,
Kelly (MS-MVP/DTS&XP)

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm


"Lanwench [MVP - Exchange]"
Kelly said:
I hear you.....was just a dig! :blush:)
Many folks here think I am male.

Me too - I see a lot of "Thanks, Lawrence" stuff.
Here in the southern part of Louisiana we're all guys: You guys, yall
guys....

We don't have y'all up here, but we do have guys.
"Lanwench [MVP - Exchange]"
And gals?

Eh. I'm a woman, but would much rather be a "guy" in slang - "gal"
sounds dated, and somehow a bit condescending. Perhaps that's just
me.


message Guys!

Today I found a BUG in Notepad, I have checked it in XP as well as
in Vista and its working in both of them.

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.

Now open any existing text file (Yeah, you hv 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.
http://img245.imageshack.us/img245/1964/notepadbugaj3.jpg

Sometimes you may hv 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. Regards,
Vishal Gupta
 
L

Lanwench [MVP - Exchange]

Kelly said:
Am still having trouble believing it is a man's world. <wink>

Oh, crap, now you have that song going through my head. I'll have to think
hard about "My Sharona" to drive it out. "My Sharona" cures most tune
wedgies.
"Lanwench [MVP - Exchange]"
Kelly said:
I hear you.....was just a dig! :blush:)
Many folks here think I am male.

Me too - I see a lot of "Thanks, Lawrence" stuff.
Here in the southern part of Louisiana we're all guys: You guys,
yall guys....

We don't have y'all up here, but we do have guys.
"Lanwench [MVP - Exchange]"
message And gals?

Eh. I'm a woman, but would much rather be a "guy" in slang - "gal"
sounds dated, and somehow a bit condescending. Perhaps that's just
me.


message Guys!

Today I found a BUG in Notepad, I have checked it in XP as well
as in Vista and its working in both of them.

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.

Now open any existing text file (Yeah, you hv 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.
http://img245.imageshack.us/img245/1964/notepadbugaj3.jpg

Sometimes you may hv 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. Regards,
Vishal Gupta
 
K

Kelly

Too funny~!

We're even....now I can't get My Sharona to stop.

--

All the Best,
Kelly (MS-MVP/DTS&XP)

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm


"Lanwench [MVP - Exchange]"
Kelly said:
Am still having trouble believing it is a man's world. <wink>

Oh, crap, now you have that song going through my head. I'll have to think
hard about "My Sharona" to drive it out. "My Sharona" cures most tune
wedgies.
"Lanwench [MVP - Exchange]"
I hear you.....was just a dig! :blush:)
Many folks here think I am male.

Me too - I see a lot of "Thanks, Lawrence" stuff.

Here in the southern part of Louisiana we're all guys: You guys,
yall guys....

We don't have y'all up here, but we do have guys.


"Lanwench [MVP - Exchange]"
message And gals?

Eh. I'm a woman, but would much rather be a "guy" in slang - "gal"
sounds dated, and somehow a bit condescending. Perhaps that's just
me.


message Guys!

Today I found a BUG in Notepad, I have checked it in XP as well
as in Vista and its working in both of them.

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.

Now open any existing text file (Yeah, you hv 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.
http://img245.imageshack.us/img245/1964/notepadbugaj3.jpg

Sometimes you may hv 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. Regards,
Vishal Gupta
 
G

Gary S. Terhune

"tune wedgies"... A phrase I'm going to have a hard time getting out of my
mind...

--
Gary S. Terhune
MS-MVP Shell/User
www.grystmill.com

Kelly said:
Too funny~!

We're even....now I can't get My Sharona to stop.

--

All the Best,
Kelly (MS-MVP/DTS&XP)

Taskbar Repair Tool Plus!
http://www.kellys-korner-xp.com/taskbarplus!.htm


"Lanwench [MVP - Exchange]"
Kelly said:
Am still having trouble believing it is a man's world. <wink>

Oh, crap, now you have that song going through my head. I'll have to
think hard about "My Sharona" to drive it out. "My Sharona" cures most
tune wedgies.
"Lanwench [MVP - Exchange]"
message I hear you.....was just a dig! :blush:)
Many folks here think I am male.

Me too - I see a lot of "Thanks, Lawrence" stuff.

Here in the southern part of Louisiana we're all guys: You guys,
yall guys....

We don't have y'all up here, but we do have guys.


"Lanwench [MVP - Exchange]"
message And gals?

Eh. I'm a woman, but would much rather be a "guy" in slang - "gal"
sounds dated, and somehow a bit condescending. Perhaps that's just
me.


message Guys!

Today I found a BUG in Notepad, I have checked it in XP as well
as in Vista and its working in both of them.

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.

Now open any existing text file (Yeah, you hv 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.
http://img245.imageshack.us/img245/1964/notepadbugaj3.jpg

Sometimes you may hv 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. Regards,
Vishal Gupta
 
Ad

Advertisements

L

Lanwench [MVP - Exchange]

Gary S. Terhune said:
"tune wedgies"... A phrase I'm going to have a hard time getting out
of my mind...

It's most useful. Alternatively known as "Earworm."

<snip>
 
Ad

Advertisements

L

Lanwench [MVP - Exchange]

Kelly said:
Too funny~!

We're even....now I can't get My Sharona to stop.

Aww, it's so repetitive and innocuous it usually stops cycling through your
synapses quickly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top