End of line

After indenting a piece of code all modified lines have 0x0A only end-of-line characters.
I found this out when Visual SourceSafe indicated these files as being different and I was unable to find these differences. Examining the files with a hex-editor revealed that the line-ends were modified. All unmodified lines still ended with 0x0D and 0x0A.
The above also applies to code inserted from templates (ie entity block).

workaround

Hi Adrie,

I will try to reproduce this issue (ticket:777). I assume you are working on a Windows computer?
As a workaround, you can click File > Convert Line Delimiters To > Windows.

Philippe

Show line ends in Sigasi HDT

Hi Adrie,

while working on this issue, I found out that Eclipse (and thus Sigasi HDT too) can display what line ends are used:
Preferences > General > Editors > Text Editors and enable Show whitespace characters
(or press Ctrl-3 and type "Show whitespace characters").

If you enable this setting you will see a ¶ for a Unix newline (\n) and ¤¶ for a Windows newline (\r\n).

Show whitespace charactersShow whitespace characters

update: fixed

ticket:777 was fixed in May 2010

Post new comment

The content of this field is kept private and will not be shown publicly.
By submitting this form, you accept the Mollom privacy policy.