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
 
B

Bob Campbell

"Bruno Stivicevic" <Bruno Stivicevic@discussions.microsoft.com> wrote in
message news:813648F3-9250-4641-87F0-79E2FC21425F@microsoft.com...
> 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?


Use WordPad instead.
 
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.

"Bruno Stivicevic" <Bruno Stivicevic@discussions.microsoft.com> wrote in
message news:813648F3-9250-4641-87F0-79E2FC21425F@microsoft.com...
> 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
 
B

Bob Campbell

"3c273" <nospam@nospam.com> wrote in message
news:fs0tqc0h4d@enews2.newsguy.com...
> 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.


Use WorPad instead.

BTW, it's not a bug in Notepad. I copied the Notepad.exe from XP into
Vista and had the same problem. Even setting the "run in XP compatibility
mode" did not help.
 
S

Stubbo of Oz

On Fri, 21 Mar 2008 06:26:02 -0700, Bruno Stivicevic <Bruno
Stivicevic@discussions.microsoft.com> wrote:

>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


--
----------------
Stubbo of Oz
----------------
 
R

Ralphinator

"Stubbo of Oz" <stubbo@invalid.invalid> wrote in message
news:sro8u3l06n5s68g74vtmu5khm2c50ri5m2@4ax.com...
> On Fri, 21 Mar 2008 06:26:02 -0700, Bruno Stivicevic <Bruno
> Stivicevic@discussions.microsoft.com> wrote:
>
>>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
>
>
> --
> ----------------
> Stubbo of Oz
> ----------------


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??


--
Posted via a free Usenet account from http://www.teranews.com
 

Similar threads

J
Replies
0
Views
107
Jasper Bragg
J
A
Replies
0
Views
60
###ARS###
A
M
Replies
0
Views
100
Mirza Ehan Baig
M
Back
Top Bottom