This version is out of date, covering development from v7.0.0 to v7.5.6. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox 7 Icon

Text line endings

This topic likely won't affect users unless they are doing multi-line edit scripting or using the Explode feature.

Not all line breaks are equal. 2 different characters get used for line endings:

To muddy the waters, different OSs have used different line end encodings:

Text generated in Tinderbox (except perhaps very early versions running pre-OS X) uses the Unix/OS X style line offered style of line end, \n.

When including a line end as part of an Explode delimiter, \r and r generally have the same effect so using \n as a 'default' is probably good working practice.

However, depending on the source of text brought into Tinderbox, e.g. a text file dragged in for exploding, the designator used for line end may have to be adjusted.



A Tinderbox Reference File : Formatting : Text line endings