WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: EOL control in scintilla

EOL control in scintilla

by mikemc :: Rate this Message:

| View in Thread

Hi I have just started work on a project. It is based around a text editor so i decided to look at the scintilla control in win32 gui ver 1.05

I am struggling to get to grips with the EOL command.

As standard I seem to output a file which when i read back in i see what appears to be double line spacing. If i open the file in vi i see ^M chars at the end of each line.

How do i get rid of this to give me a regular file?

Also i notice that the first line starts off at char 1 then the next line is indented one char in, all the rest follow this. Again how do i control it so all chars that should be at position 1 stay there?

Thanks in advance
Mike

 « Return to Thread: EOL control in scintilla