Change gutter numbers?


#1

Is there a way to change the line numbers on the side gutter of the textEditor?


#2

You might take a look at how this package does it:


#3

Perfect thank you!


#4

It seems this package selects the class of the gutter numbers using but the class is in the shadow root and doesn't let me select it using jquery. Is there any way to get at the items in the #shadow-root aside from using (‘body /deep/ your-selector’) which seems a bit messy to me?


#5

I don’t have my code handy but there is a function called getShadowRoot you can call from an atom view.


#6

Ah thanks @mark_hahn thats exactly what I needed.