Tuesday, December 16, 2003

IDE Spelunking...

Ever wonder what the line break style is for each line in a text file? Well, there is a way to find out without opening the file in a hex-editor. If you have C#Builder, and will be in the upcoming Delphi 8 for Microsoft .NET, there is a hidden setting that will tell the editor to display special unique characters at the end of each line that will represent the style of line-break.

"HKCUSoftwareBorlandBDSx.xEditorSource OptionsxxxShow line breaks" = "True"

Where:

  • x.x = 1.0 for C#Builder and 2.0 for Delphi 8

  • xxx = Sub key for specific file types