Sublime Forum

BracketHighlighter issue

#1

Hello guys,

I have weird issue with Package “BracketHighlighter”. First, my Sublime 3 (on mac os x) not finding this package when I searching, so I have installed this package manually, but another issue or maybe it’s my weak knowledge how to set how I want.

So I want highlight like this: https://github.com/facelessuser/BracketHighlighter/raw/master/docs/images/Example1.png
Mine looks now: https://s24.postimg.org/cr12ongol/Screen_Shot_2017_01_09_at_10_42_00.png

0 Likes

#2

the screenshot shown on the BracketHighlighter page shows that there is a cursor/caret by each bracket that is highlighted in the gutter. Probably making multiple selections like this will achieve the display you want, but I’m guessing you want it without making said selections?

0 Likes

#3

I think you get me wrong, I want when i click on tag it will be highlighted “” with < and > now you can see in my situation only highlighted “head”

0 Likes

#4

As far I know this is not possible in the current version. The screenshot is just from an older version.

0 Likes

#5

Anyone can confirm r/stain words? And there is any alternative for full tag highlight?

0 Likes

#6

As I recall, @r-stein is correct. There was a period time where I used to have that as an option. When I re-wrote things, I ended up adding a highlight hook, and for tags I just highlight the name. If my memory serves me correctly, I dropped all support for the end cap highlight method for tags.

You could theoretically create your own custom tags.py bh_module and change the highlight code to do end caps instead. I think you would import the important hooks from the default tags.py module except for the highlight hook, and you could just do your own. I think that would work. You would then have to point the tag rules to your custom tag module.

0 Likes