TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Can anyone explain why this crash editors?

1 pointsby gnatoralmost 8 years ago
I was coding and something happened with atom and I was unable to reopen my project without atom crashing. I deleted my code in notepad and extract this which is causing crashes in Microsoft Word and extreme lag in notepad++ and Atom. Anyone know why this is the case?<p>PS: This file is only 9mb so it shouldn&#x27;t be too big for anything to view it<p>Thanks https:&#x2F;&#x2F;www.dropbox.com&#x2F;s&#x2F;ru1qlmi92ky4y53&#x2F;weirdFile.js?dl=0

3 comments

homemadejamalmost 8 years ago
Opening this file in a hex editor shows that the file consists of almost all spaces, which I&#x27;m assuming are all on one line, making the text editors crash.
评论 #14757557 未加载
pwgalmost 8 years ago
The file opens in a blink of an eye on Linux in both the Joe editor (<a href="http:&#x2F;&#x2F;joe-editor.sourceforge.net&#x2F;" rel="nofollow">http:&#x2F;&#x2F;joe-editor.sourceforge.net&#x2F;</a>) as well as in vi (i.e., it is about about a second or less to open the file in each). So the problem would be that Word, Notepad++, and Atom have trouble with very long lines.
db48xalmost 8 years ago
You just need a better editor; it doesn&#x27;t crash Emacs, for example.