On Mon, 2005-09-12 at 21:59 +1000, Nick Watts wrote:
> Second, today I'm trying to create a website with my own GTK+ text editor 
> and when I open text files with it from ONE PARTICULAR directory, it 
> randomly adds duplicate 'new line' characters where there should only be one 
> so that large portions of the document show up double spaced. This only 
> happens with files opened from this one directory. Anyone have ANY clue why 
> either of these occur?

What EOLs (End Of Line) have those files.

If you open a Windows file that uses CR and LF for a single line break,
with an editor expecting Unix/OsX EOLs - so LF - it will show double
spaces.

The first CR is taken as MacOs EOL, and the LF as Unix EOL.

What happens if you "dos2unix" all those files ?


Regards.
-- 
Iago Rubio

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to