Home Download Buy Blog Forum Support

Dev Build 2066

Dev Build 2066

Postby jps on Fri Jun 17, 2011 7:58 am

Dev Build 2066 is out now. The most visible change is color schemes other than 'Monokai Bright' will show the syntax highlighting of the text through the selection. The default color scheme has also changed from Monokai Bright to Monokai (the only difference between the two is the way the selection looks). I may change the default color scheme back - the selection color doesn't have much contrast compared to the background color, and I already get a surprising (to me, anyway) number of complaints about lack of contrast in various areas.

Color schemes can individually control if the syntax highlighting is visible through the selection: it will be, unless there's an explicit 'selectionForeground' key set in the .tmTheme file. In general, if the selection color is a wildly different hue to the background, an explicit foreground color may be required, to keep the text readable when selected.

Visually, I've changed the height of the line highlight, by removing 1px from the bottom: it was previously looking like it wasn't centered in the line. There's also a loading progress bar, which will be displayed if a file is taking longer that 500ms to load.

I've made some performance related changes to the Goto Anything ranking algorithm, which shouldn't have a negative effect on ranking quality, but let me know if there are any issues there. I've also changed a few things in the way of Python support on Linux, so please also let me know if you see any issues cropping up there.

The full list of changes is on the dev build page.
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2066

Postby adzenith on Fri Jun 17, 2011 8:28 am

jps wrote:
  • Added a File/Close All menu item
  • Folders may now be dropped anywhere on the window, not just on the side bar

Today is a good day! I love getting new builds. :) Thanks!
adzenith
 
Posts: 1204
Joined: Mon Oct 19, 2009 9:12 pm

Re: Dev Build 2066

Postby ajpalkovic on Fri Jun 17, 2011 8:46 am

I like the change to highlighted regions, it bugged me a little that it didn't look centered.

A lot of the time the text bumps right up against the left and right edges of the highlighted portion. I've thought a bit about why that occurs, and I think it's because most editors don't put the outer 1 pixel of the highlighted region as a slightly darker color. I like that you do that, it definitely looks better, but the problem is that because it is a darker color, it blends into the background a little so it makes the text look like it bumps right up against the edge of the highlighted region.

I might suggest changing it so that the darker border is an outer border, not an inner border. In other words, if the highlighted region is 10x10, right now you have 9x9 of the bright color and a 1 pixel dark border. I'd suggest 10x10 of the bright region and a 1 pixel dark border outside that for a total of 11x11.

Here's a picture:
Image

It's not a huge deal, and I realize it has other implications, like the slightly larger region could bump into other characters. But idk, it just seems off a little bit. In the picture, you can see how the pixels of the left side of the O aren't black because they bump up against it. It's not something that breaks the editor at all, but it might be a nice piece to polish?
ajpalkovic
 
Posts: 142
Joined: Fri Jun 10, 2011 10:21 pm

Re: Dev Build 2066

Postby senzo on Fri Jun 17, 2011 9:15 am

Is it possible that the font i use (Inconsolata) doesn't work at a font_size of 13 since build 2066? It works at 12 though which is too small for this typeface. (On a Mac)
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am

Re: Dev Build 2066

Postby jps on Fri Jun 17, 2011 9:18 am

What you do mean by 'doesn't work'?
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2066

Postby senzo on Fri Jun 17, 2011 9:31 am

At 12:
inconsolata12.png
inconsolata12.png (9.64 KiB) Viewed 1827 times


At 13 (replaced by some system font):
inconsolata13.png
inconsolata13.png (9.83 KiB) Viewed 1822 times


And in regards to ajpalkovics comment: A 1 pixel padding would improve the readability. The left side of the "M" is cut off in this case. But i have no idea which side effects this could have...
font_selection.png
font_selection.png (12.1 KiB) Viewed 1825 times


By the way, i really enjoy the continued stream of builds you are releasing ;)
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am

Re: Dev Build 2066

Postby jbrooksuk on Fri Jun 17, 2011 9:36 am

Inconsolata at px13 works fine for me in 2065 and dev 2066.
jbrooksuk
 
Posts: 689
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Dev Build 2066

Postby jps on Fri Jun 17, 2011 9:46 am

Senzo: That's really odd. It used work fine in previous builds? FWIW nothing has changed in the font handling code between 2064/2065 and 2066. Does it work if you use something like 13.5?
jps
Site Admin
 
Posts: 3058
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2066

Postby senzo on Fri Jun 17, 2011 9:48 am

Inconsolata is working again (After deactivating and activating it again). This was likely to be a Operating System issue... Sorry for that.
senzo
 
Posts: 106
Joined: Tue May 24, 2011 9:17 am

Re: Dev Build 2066

Postby n00ge on Fri Jun 17, 2011 11:56 am

I'm getting a bit of a nasty bug on the latest build. When I make a multi-line selection, all the content on each of those lines disappears, except for the first line and except for the selected content.
http://twitter.com/n00ge
Sublime Text 3 dev builds | OS X 10.8.2 & Ubuntu 13.04
n00ge
 
Posts: 138
Joined: Mon Oct 05, 2009 1:23 am

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 14 guests