How do I modify the line numbers on cursorActivity in cm6?
I’ve read through several GitHub issues and forms but haven’t found anything promising. I’m able to format the line numbers when a new line is added, but I want it to also fire when I move the cursor.
Looks great! (The weird calls that prompted the return "0" case are there to create a placeholder that sets the gutter width. I guess that in a setup like this there won’t really be a problem with the gutter being too narrow and then changing size when scrolling, so returning "0" should work fine here.)