Implementing attributes for plain text using subranges like Emacs | Hacker News Reader