It's a nice idea, but what is the advantage over windows notepad (or equivalent on other OSes)?
the win32 one, or did they replace it with a metro/modern version?
document.body.innerText += 'hello world/n';
echo hello world >> file_in_notepad.txt
Although I'll admit that notepad's not as graceful about multiple programs editing files.