Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: WriteRoom – Dec Terminal, Markdown, Fast (macOS) (opens external site)

9 points by jessegrosjean 2 days ago www.hogbaysoftware.com 6 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (4)

  1. Congrats on the release! Have some questions I'm interested on for learning more about from people building UI apps like these:

    What part of having a native feel do you think matters more to you? I'm always intrigued by those who are of the opinion apps are better when they feel closer to the operating system even at other costs.

    What part of doing what NSTextView did from scratch do you think was the hardest? IME, accessibility or spell checking? Also interested in if it has any of these or not.

    Did you think about using any other stack? Perhaps, building it in the web, perhaps using some UI framework/library, another language?

    Sorry for the barrage of questions, I'd be fine if you answered only one if you could :)

    Replies (3)
    1. > What part of having a native feel do you think matters more to you?

      I think scroll behavior is most noticeable. If an app doesn't have same scroll characteristics provided by NSScrollView then it immediately feels off to me.

    2. > What part of doing what NSTextView did from scratch do you think was the hardest?

      Hard to say... it's all solvable. Just lots of separate steps. I guess spell checking might be most complex since it needs to be asynchronous. While IME is always source of bugs because it has so much different behaviors, depending on language, so you never really know if it's fully working.

      Apple should really generate some automatic test suites for these kinds of things.

      WriteRoom support Spell check, IME, Accessibility, Writing Tools... plugs into everything it can.

    3. > Did you think about using any other stack? Perhaps, building it in the web, perhaps using some UI framework/library, another language?

      I wanted a good Mac app, so the idea was always to embed editor in standard Mac app. I did original start with embedding a CodeMirror web view into the app and took that quite far. CodeMirror is really great. But in the end I couldn't do the DEC theme using WebView like I wanted. And at some point I decided I wanted full control of the editor to unlock abilities like overview mode.