Bug in Notepad on Vista, also in SP1

B

Bruno Stivicevic

There's a nasty bug in Notepad on Vista, that persists also in SP1.
To reproduce the problem do following:
1/ Run Notepad
2/ Type aaaa, press Enter, and then type bbbb
3/ Click before aaaa, and then press twice Ctrl+<right arrow>. Your
insertion point is not before bbbb, as it works in XP and previous! It is
between 0d and 0a - in other words, in the middle of the new line pair.
4/ Type the letter e: your line will look like aaaaebbbb. If you select all
text and paste it in a Hex editor, you will see that you have the sequence 0d
65 0a, i.e. the letter è is where it is not supposed to be.

This bug is driving crazy script editor in our software, as VBScript reports
silly syntax errors.

Anyone knows if there's a hot-fix related, or the bug is already known?

Thanks,
Bruno
 
3

3c273

Wow, that's a nasty bug. What are we going to do with all of those borked
notepad files where we used CTRL+right arrow to move the insertion point
between lines.
 
S

Stubbo of Oz

On Fri, 21 Mar 2008 06:26:02 -0700, Bruno Stivicevic <Bruno
There's a nasty bug in Notepad on Vista, that persists also in SP1.
To reproduce the problem do following:
1/ Run Notepad
2/ Type aaaa, press Enter, and then type bbbb
3/ Click before aaaa, and then press twice Ctrl+<right arrow>. Your
insertion point is not before bbbb, as it works in XP and previous! It is
between 0d and 0a - in other words, in the middle of the new line pair.
4/ Type the letter e: your line will look like aaaaebbbb. If you select all
text and paste it in a Hex editor, you will see that you have the sequence 0d
65 0a, i.e. the letter è is where it is not supposed to be.

This bug is driving crazy script editor in our software, as VBScript reports
silly syntax errors.

Anyone knows if there's a hot-fix related, or the bug is already known?

Editpad Lite is much better (IMHO) than Notepad. It does not have this
bug.

It is free for non commercial use - get it from:-

http://www.editpadpro.com/editpadlite.html
 
R

Ralphinator

Stubbo of Oz said:
On Fri, 21 Mar 2008 06:26:02 -0700, Bruno Stivicevic <Bruno


Editpad Lite is much better (IMHO) than Notepad. It does not have this
bug.

It is free for non commercial use - get it from:-

http://www.editpadpro.com/editpadlite.html

If you have to come up with such a complicated operation that NO ONE will
EVER do in real life, just to prove a fault in a program, then may I suggest
you get a life??
 

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