Could anyone with a working knowledge of Atom’s internals give me some pointers on how exactly does Atom turn token list received from grammar into
span elements? I’ve tried going over Atom’s sources, but wasn’t able to find the exact place.
There are two reasons why I’m asking this.
First one is I want to do the same in my package, and was wondering if I could just reuse Atom’s implementation instead of rolling my own.
Second is I’m thinking about running some code on
EditorElement right after token
spans are created, so I was wondering if at all possible to do that synchronously.