format line numbers on cursorActivity

I think I had to update a package (after reading about a bug here).

I finally have it working! I’ve simplified it and cleaned things up. This example uses TypeScript: