Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Now this is a text editor. Somewhere between Emacs and MS Paint. Not sure how I'd want extraneous whitespace to show up (where are my newlines? or can you only select rectangles). The execution looks refreshing.


As far as the internal data model is concerned, there are no newlines. All shapes exist in an abstract discrete coordinate system and draw to it (if you're using the text tool, you can insert new lines etc but that's internal to the text shape, the canvas only cares about what characters appear at what abstract point).

Of course, when we export as text, we need to insert newlines so that it renders the way it's displayed.

Thanks for the kinds words about the execution :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: