Exactly. Also see:
Setting the opacity of the selection is not new. I was using the selectionForeground because setting the opacity is not good. So basically it’s broken to support ligatures which is annoying. The selection highlighting support was already bad. Now it’s worse.
The changes to the find/searching and the regions is confusing. Stuff is broken now and I really have no idea how to fix it. Not even sure that can be fixed.
I believe it was stated it is a regression and will be addressed in the future. As this is a dev build, the full feature is still rolling out in pieces.
Setting the background improves the selection and find/searching MonokaiFree color scheme
Some people will obviously have no issue with it or will never know the difference.
I’ve reverted to 3147. Not just because of the selection issue, but also because find/search highlighting is broken too much. Can’t remember the last time I had to revert to an earlier version…
On MacOS, can you please expose a setting to disable the drop shadows underneath the popups ,especially under the autocomplete popup , please ?
Thanks
Gagan
Here is some info about why changes were made to background/foreground color handling.
Since Sublime Text’s font drawing engine has been updated to support characters than span multiple characters (specifically in this case to support the much requested feature of ligatures), it is no longer possible to presume that a character is contained within a selection (or other filled region). If the characters >=
are displayed as a glyph that is 2em wide, selecting the >
will result in the selection cutting down the middle of the character.
Previously, when a character could not overflow the monospace bounding box, it was possible to draw a background color for a selection/region and then draw the selected text over the background in a different color. There was some wasted performance, but there were preconditions that made it straight forward to handle.
Now that characters can be bisected by selections and regions, there isn’t a straight forward way to handle drawing half of a glyph in one color and half in another. Thus, to fix certain aspects, we had to limit certain features.
Obviously during these dev cycles we are working on significant changes, and sometime we’ll need real-world validation from users about those changes. Please keep the feedback coming, and we’ll keep working on finding the best possible solution. I know Jon is already working on further improvements!
The colors are not right now. The selection borders are weaker. And what was black on build 3147, now is gray on build 3148. How to make the section borders black as on build 3147?
Build 4148
Build 3147
Depending on the color theme, the highlighting changes can be nicer than what was in previous builds.
For example, with the Solarized (dark) theme I use, the foreground color is preserved with the word-highlight plugin.
3148:
3143:
No. I think it’s just a choice between the following two
contact1
in syntax highlight.contact1
s quicker.I almost cannot tell what you selected is contact1
in the above screenshot.
However, I can see all selections at the first glance and know they are converter
s.
The “old” behavior from the dev-build 3147 when selecting single characters from ligatures was more straightforward (essentially the ligature was removed when the selection is active). Any chance to get that as an option back?
I think both of those are bad. 3148 is worse because at a glance the it looks like the second one is selected.
Find
I’ve already noted that selection and find highlighting is bad. One reason is because you can’t color the background of the occurrences i.e. the one’s that have a border.
Here’s search in NeoVintageous, this is broken in 3148, I assume because of whatever has happened to regions:
Press /
to search, and type “key” in the search input:
Now press Enter and then n
to cycle forward, N
to cycle back.
There’s still outstanding issue which is that the current occurrence should be blue like the first search match. I’m pretty sure it’s possible to do. Maybe not 3148.
Incidentally, you’re using Solarized. I wanted to change Solarized for NeoVintageous search to have the following highlighting. Where the first image is the search match and the right is occurance. It mirrors the search highlighting in Vim solarized.
It looks better in vim because the selections are not rounded in Vim:
Just my two cents. I don’t like how popup drop shadow looks like on Windows now:
Is there any chance that tool_tip_control
and popup_control
will act like overlay_control
:
Default
& Adaptive
themes provide optional texture with the shadow.This allows to control that shadows easily from the theme side, theme developers even will be able to use hidden "draw_shadows"
setting to enable/disable them.
Yeah we had hat discussion (about Solarized) and I think it’s a pretty bad idea to lose syntax highlighting in selections, especially if you’re selecting multiple lines. It’s a trade off of course, horses for courses and all that, but I don’t see how one can be such a fan of ditching syntax highlighting in selections.
"font_face": "Consolas Bold"
is broken again (text displays no differently than when it’s simply "Consolas"
).
This was previously fixed in Build 3140:
Windows: Fixed selection of Consolas Bold on Windows 7
But Build 3148 has regressed.
I don’t see a reason for not splitting up ligatures when a selection intersects them partially. I can’t even imagine how it could not look broken since ligatures fundamentally disregard character bounding boxes.
If ligatures were split again for the selection, there shouldn’t be implementation issues with a selection foreground color either, unless im missing something here.