Class for search result/bracket match text


#1

I am currently creating my own theme for atom.io but I noticed a problem that I think currently has no solution:

If you style the bracket matches (.bracket-matcher) or the search results (.editor .search-results .marker .region) there seems to be no way to change the font color for the underlying text, as those markers and the text are seperated in the HTML. A span with a css class for text that was matched by a search result (or around the matching bracket) would be really helpful :smile:

Thanks!


#2

+1, same request I want to change bracket matching font color.


#3

There isn’t currently a way to style the text that is highlighted by things like this … bracket matching, search result, etc. (The term in Atom’s API for this is “Decorations”.)