I was trying to style method calls while creating a syntax theme for atom. I realized it might not be possible to do it currently because of https://github.com/atom/atom/issues/9074#issue-110286384 The atom editor html is different from the html output of highlights. The atom editor html doesn't wrap method names in span tags. This difference prevents me from styling method calls in the syntax theme.
Are there any workarounds? Also, why is the editor html different from the html output of highlights? I'd like to solve this but I'm struggling to find the part of atom's codebase where the highlights package is used for syntax highlighting. Any pointers?
Hi
I was trying to style method calls while creating a syntax theme for atom. I realized it might not be possible to do it currently because of https://github.com/atom/atom/issues/9074#issue-110286384 The atom editor html is different from the html output of highlights. The atom editor html doesn't wrap method names in span tags. This difference prevents me from styling method calls in the syntax theme.
Are there any workarounds? Also, why is the editor html different from the html output of highlights? I'd like to solve this but I'm struggling to find the part of atom's codebase where the highlights package is used for syntax highlighting. Any pointers?
Thank you.