Sublime Forum

ST not happy with null terminated lines on OS X

#1

Apologies as I’ve reported this via email in the past for ST2. Just hoping for comment or resolution as it is something that affects at least one person. :smile:

ST3 (and ST2) can’t seem to handle null terminated lines. The Xcode console is one place that one commonly finds this format. (I frequently connect a device to Xcode, capture output, then copy and paste back in a text editor for examination.) Copying and pasting will paste only the first line. If I save the output to a file (sample attached), it opens as hex in ST3. In TextEdit, BBEdit, Textmate (1 & 2), this works fine. If you open the file in TextEdit, select all, copy, and paste into ST3, you’ll see the copy/paste behavior.

Thanks!
NUL.txt.zip (833 Bytes)

0 Likes