Home Download Buy Blog Forum Support

ST3 Misinterprets EOF

ST3 Misinterprets EOF

Postby bphunter1972 on Thu Feb 27, 2014 7:08 pm

I have a logfile open in Sublime Text 3 (Build 3061). If I re-run some application that modifies the logfile, then try to re-open it, Sublime misinterprets the EOF.

For example, if I tail the logfile at the prompt, I see this:

Code: Select all
/nfs/mydir> tail -3 logfile
Time: 35969309000 fs
CPU Time:     28.520 seconds;       Data structure size:  88.7Mb
Thu Feb 27 09:47:31 2014

But, when I re-open it, I find the same text followed by dozens of NUL characters, followed by the overwritten part of the previous version of the file.

Code: Select all
Time: 35069309000 fs
CPU Time:     21.210 seconds;       Data structure size:  88.7Mb
Wed Feb 26 21:39:53 2014
%I-(          svt_pcie_pl_proxy.sv:6708.....blah, blah, blah....

Among other issues, now you can no longer use Find in Files...

Code: Select all
Searching 1 file for "Time" (regex)


I can close and re-open the file, but the problem persists.

Only quitting and re-starting Sublime Text altogether solves the issue.
Posts: 24
Joined: Mon Mar 25, 2013 5:02 am
Location: San Jose, CA USA

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 17 guests