On Mon, 28 Jan 2008 11:52:47 +0100, Andreas Tscharner andy@vis.ethz.ch wrote:
Hi,
Geany 0.13svn >= 2188 (Latest windows build), Windows XP Professional
(it only happens with older versions, also with Geany 0.12)
I have a file in the editor, mode is Win (CRLF), encoding UTF-8 (no BOM). If I lookt at it in a hex editor, it is correctly saved with line endings 0x0D, 0x0A. If I mark (a part or all) the file, copy it into the clipboard and paste it into geany, it is still correct. If I paste it into another editor, the line endings look like 0x0D, 0x0D, 0x0A, e.g. 0x0D appears twice (adding an extra line in the other editor and sometimes even compiler errors if it is source code)...
Thanks for reporting. I never noticed this. Very strange problem. I'm not yet sure why this happens, probably there is something wrong with the method of copying the text into the clipboard.
Regards, Enrico