Home Download Buy Blog Forum Support

BracketHighlighter

Re: BracketHighlighter

Postby facelessuser on Sun May 27, 2012 10:48 pm

Swap quotes should now be fixed.
facelessuser
 
Posts: 1571
Joined: Tue Apr 05, 2011 7:38 pm

Re: BracketHighlighter

Postby vitaLee on Mon May 28, 2012 6:45 am

thanks about your quick response. :)
about my first note try this:
open new blank document.
change syntax to some not ignored by the plugins and type quoted text.
then move the caret between quotes.
the brackets icons will not show in the gutter. you won't be able to swap quotes too.
it's super unimportant and few would notice it, but i decided to bring it up since it's obviously an edge case and might reflect somewhere else.
vitaLee
 
Posts: 150
Joined: Tue Dec 27, 2011 11:10 pm

Re: BracketHighlighter

Postby facelessuser on Mon May 28, 2012 2:20 pm

vitaLee wrote:thanks about your quick response. :)
about my first note try this:
open new blank document.
change syntax to some not ignored by the plugins and type quoted text.
then move the caret between quotes.
the brackets icons will not show in the gutter. you won't be able to swap quotes too.
it's super unimportant and few would notice it, but i decided to bring it up since it's obviously an edge case and might reflect somewhere else.


Fixed. An algorithmic oversight on my part. Thanks for letting me know. I wouldn't have caught that for a while :).
facelessuser
 
Posts: 1571
Joined: Tue Apr 05, 2011 7:38 pm

Re: BracketHighlighter

Postby Maxand on Mon Jun 04, 2012 11:37 am

Thanks for the addon facelessuser,
How can I make it change the color of the brackets only without highlighting?
I also noticed sometimes it takes a second to take action.
Maxand
 
Posts: 2
Joined: Mon Jun 04, 2012 11:26 am

Re: BracketHighlighter

Postby facelessuser on Mon Jun 04, 2012 4:01 pm

Maxand wrote:Thanks for the addon facelessuser,
How can I make it change the color of the brackets only without highlighting?
I also noticed sometimes it takes a second to take action.

:? I am not sure what you mean.

If you are asking that you would like the bracket font to change color without putting a block or outline or underline around it, then that is impossible with the current ST2 API. If/when that functionality is available, I would have no problem adding that.

If you are looking for a more minimal highlight, I suggest using style "underline" and for the icon put "none". That will only underline your brackets with a colored underline. That is as minimal as BracketHighlighter can do.
facelessuser
 
Posts: 1571
Joined: Tue Apr 05, 2011 7:38 pm

Re: BracketHighlighter

Postby Maxand on Mon Jun 04, 2012 6:39 pm

Thanks for the reply facelessuser,

Yes you understood me just right, things is, I just switched from Notepad++ and used to have brackets changing color when caret next to them, no highlight box.
I guess I will have to wait for future implementation.
Again, thanks a lot for this great addon Image
Maxand
 
Posts: 2
Joined: Mon Jun 04, 2012 11:26 am

Re: BracketHighlighter

Postby facelessuser on Mon Oct 01, 2012 6:14 am

New version of BH pushed out.

-Better detection of auto-closing tags (hopefully)
-Experimental CFML support (read the readme for more info)

Also, I want to prepare people because very soon I will be removing possibly all of BH's shortcuts by default. Currently, most of the shortcuts use ctrl+shift+b (or super+shift+b on mac) which apparently overrides one of ST2's built in shortcuts (something to do with build systems...can't remember off the top of my head). Anyways, moving forward very soon I will remove the shortcuts and provide an example file instead. This way the user can set up shortcuts they like (you can even keep them the same as they are now if you don't mind the shortcut override; you just will need to define them yourself). This will prevent issues being filed in the future about shortcuts overriding other shortcuts.

Again, all the functionality will remain the same, but the user will have to define their own shortcuts, but I will provide an example file that can be used as a template. So now would be a good time to copy the BH shortcuts to your Default (whatever OS).sublime-keymap file to prepare for the future.

On a side note, if you use the HexViewer plugin, the same will happen for that plugin's shortcuts as well since it use the same shortcut in its sequences.
facelessuser
 
Posts: 1571
Joined: Tue Apr 05, 2011 7:38 pm

Re: BracketHighlighter

Postby twoohfour on Thu Oct 25, 2012 5:18 pm

I've loved this plugin for a long time in my workflow... It is so good! Thanks facelessuser for all your time thus far.

However, suddenly it no longer seems to be working? The take home feature for me, to be able to easily select everything between quotes or parens or whatever is no longer functional. I tried changing the shortcut and updating the shortcut in the sublime keymap but to no avail.. When triggering using the hotkey, simply nothing happens.

Anybody else experiencing this?
twoohfour
 
Posts: 3
Joined: Thu Jun 21, 2012 5:20 pm

Re: BracketHighlighter

Postby facelessuser on Thu Oct 25, 2012 5:36 pm

This has never stopped working for me. I will verify again tonight on the BH1 branch (I am running BH2 right now ;) ), but if it isn't working for you, there might be a shortcut conflict.

I also have this working for BH2 right now as well (though the shortcuts do not come defined out of the box).
facelessuser
 
Posts: 1571
Joined: Tue Apr 05, 2011 7:38 pm

Re: BracketHighlighter

Postby appel on Thu Nov 29, 2012 4:08 pm

Thanks for your work, faceless!
facelessuser wrote:(I am running BH2 right now ;) )

Please excuse my ignorance if I missed it but has BH2 been released already? I couldn't find it on your github page.
appel
 
Posts: 3
Joined: Fri Sep 21, 2012 7:51 am

PreviousNext

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 4 guests