This should work for the tiny text people .
Should have it out soon.
Version 1.5.2
That took longer than I would have liked.
You can look at the readme.md file on the github repository. There is a section on changing colors. Let me know if you have more questions.
damn!!! where was i looking? i think i checked the readme in package directory. Doāh!
The readme in the package is the readme on the repository. The package one comes from the repository .
Thanks for the small icons!
A very super stylish comment, feel free to ignore me.
I added a little bit of padding and made very tiny corrections to the small icons.
Found these in the following link ( Iām not going to send a pull request )
dl.dropbox.com/u/9303546/Sublime ā¦ _icons.zip
Default looks like this:
I made this:
Regards,
[quote=ātitoā]Thanks for the small icons!
A very super stylish comment, feel free to ignore me.
I added a little bit of padding and made very tiny corrections to the small icons.
Found these in the following link ( Iām not going to send a pull request )
dl.dropbox.com/u/9303546/Sublime ā¦ _icons.zip
Default looks like this:
I made this:
Regards,[/quote]
Thanks! I did not fool around with padding. I only made sure they worked. A very nice improvement. I will try and get these in tonight.
I know there is a slight padding issue with the angle_bracket.png (large version) and I will try and align it better too.
titoās tiny icons are now in.
Also fixed the big angle bracket iconās alignment.
I think this completes the great icon experiment.
I have to say, I wasnāt sure how it would go over, but it seems people generally like them. Thanks for the feedback and contributions. I think it all looks pretty polished now.
I like the new icons but have a big problem with them. Initially, they display correctly but after just a short moment they change to complete garbage. I have attached screenshots.
I am using Mac OS, ST2 2183, and Soda Theme.
Any ideas?
Thanks!
Interesting, does it say something in the console? Like canāt find some_icon.png?
I am on Mac OSX myself and use Windows 7 at work, and I have not seen this. After installation of the plugin, you need to restart ST2; you get glitches like this until you do. Does a restart of ST2 help you?
I will also try enabling Soda Theme and see if that somehow interferes.
You might possibly get this issue when Package Control upgrades the plugin as well, again a restart should help.
Edit:
Soda Theme does not interfere for me. A restart is all you probably need.
[quote=āgregor.hochā]I like the new icons but have a big problem with them. Initially, they display correctly but after just a short moment they change to complete garbage. I have attached screenshots.
I am using Mac OS, ST2 2183, and Soda Theme.
Any ideas?
Thanks![/quote]
This was happening to me, and was fixed after restarting Sublime ā have you restarted?
Version 1.5.3
Someone had mentioned that sometimes the gutter icons can get a bit too much, so I have added a setting to disable gutter icons during multi-select.
The default is to allow gutter icons in multi-select
// Disable gutter icons when doing multi-select
"no_multi_select_icons": false,
I still want to do some more playing around with the icons. For now, hereās an HTML ātagā icon: cl.ly/2M1x0e2g141X1Y1I1B3z
Might want to change it later, but thatās it so far.
[quote=āC0D312ā]I still want to do some more playing around with the icons. For now, hereās an HTML ātagā icon: cl.ly/2M1x0e2g141X1Y1I1B3z
Might want to change it later, but thatās it so far.[/quote]
Just tried it out; I like it. Keep it up .
Hey, thanks for BracketHighlighter. I didnāt know I needed it until I used it. Very helpful indeed.
Just one thing, though. Is it possible to not select the bracket/quote if the cursor is outside of it? For example, if I have the string:
āThis is a stringā
The quotes get highlighted when the cursor is outside of them. Iād like to highlight them only if the cursor is on the inside. I looked through the settings but didnāt see anything that seemed like it was related. I am not unwilling (there I go using a double negative!) to dig into the code and try to figure it out, but I know that these sorts of things can be quite complicated, especially if heavily dependent on regular expressions. Iām hoping you can very quickly say yea or nay and not have to spend much time at all digging into it.
Thanks again.
EDIT: Actually, I should be a bit more specific regarding what Iād like to see when the cursor is outside. If the bracket/quotes are nested, the surrounding bracket/quotes should be highlighted when the cursor is outside the quotes in question. For instance:
function say_hi()
{
alert('Hi there');
}
In this example, I would expect the single quotes to be highlighted whenever the cursor is between them, but as soon as the cursor is outside of the single quotes (even immediately adjacent, but still outside), the parens of alert should be highlighted. As soon as the cursor is outside of the parens, the curly braces should highlight. As it is right now, you have to be at least one character away from a bracket/quote before it will not be highlighted and the surrounding bracket/quote highlighted.
I hope that makes sense. It is sometimes difficult to express in words something that is inherently visual.
Current highlighting favors what ever is to the left of it. ST2s built in bracket underlining is very similar, but actually less consistant which makes brackets not get underlined in certain scenarios.
I chose a very consistant and predictable way to highlight. I think this better illustrates what I am doing:
With that said, I can add the logic in, but you may have to wait a little. I have been doing quite a bit of plugin coding recently and I think I need a little break .
The code is not done with regexā¦I think regex is the wrong tool for the job here (not to say it possibly canāt be done with regex). I understand thought that not being done with regex doesnāt always make the code easier to follow. If you really want to tinker with it and get this functionality before I get to it, you would probably look in adjacent_adjust, string_adjacent_adjust, and the very beginning of I think match_quotes. The first I believe handles brackets intial highlighting, the second handles brackets inside strings initial highlighting, and the third handles quote initial highlighting in the beginning.
If you get it working and would like to do a pull request the main things that I require is that it is optional, and you donāt break existing logic or functionality (the old method needs to work the same; it took me a little to iron logic out), and brakcets must be highlighted in some scenario no matter which direction the cursor comes from (cursor moving from left and cursor moving form right, the brackets need to fall into a scenario where they will always get highlighted.
That is it. If it is something you donāt want to mess with, I will try and get to it sometime soon, just create an issue in github so I donāt forget.