Black dots at the end of each line in Find In Files...

Previous topic - Next topic

Moru

It's just a 0x0A
Windows XP, sp3, English

MrTAToad

Its fine in Vista, but in XP Home with SP3 The Black Dots are present...

Kitty Hello

Code (glbasic) Select

CString txt(Text);
txt.Replace("\r", "");
txt.Replace("\n", "\r\n");

That's the text I append to the edit control. Am I stupid?

Moru

I don't think you need line feed in textcontrols in windows?

MrTAToad

I must admit I cant remember whether you do or not, but I used to have the same problem when I had to code (with) edit boxes...

I think the escape code order may need to be reversed (or perhaps just keep \n)

amarliani

I've experimented a bit, and yes, the escape sequences show up to be the problem. AFAIK (and my test seem to prove that) you only need \n in Win boxes.