Home Download Buy Blog Forum Support

Dev Build 2061

Dev Build 2061

Postby jps on Wed Jun 08, 2011 8:32 am

Dev Build 2061 is out now. The main change is to the theme system, which now allows more flexible selectors: in addition to selecting on the class name and attributes, you can select on the parent(s) class name and attributes. For example, this can be used to adjust the tab or sidebar labels when the underlying tab or table row is selected or has the mouse hovering over it.

For example, if you'd like to make the tab labels red when the mouse is hovering over them, you could add this rule:

Code: Select all
{
    "class": "tab_label",
    "parents":
    [
        { "class": "tab_control", "attributes": ["hover"] }
    ],
    "fg": [255, 0, 0]
}


Themes are also automatically reloaded now (a couple of parts aren't reloaded perfectly, and will only take effect on the next restart), which should make theme development more pleasant.

I've also added a few more functions to the API, the most important of which is Window.folders(), to get the list of folders open on the sidebar.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2061

Postby qqq on Wed Jun 08, 2011 8:50 am

I've noticed that one-click tab closing is not possible now. Intended or is this a bug?
ST2 Win7 64-bit
qqq
 
Posts: 57
Joined: Tue Mar 08, 2011 9:49 am

Re: Dev Build 2061

Postby jps on Wed Jun 08, 2011 9:16 am

That's a bug - will fix for the next build
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2061

Postby qqq on Wed Jun 08, 2011 10:30 am

The arrows from scrollbars are also gone. I'm not 100% sure they existed before (can't remember) but my gut feeling is they did.
ST2 Win7 64-bit
qqq
 
Posts: 57
Joined: Tue Mar 08, 2011 9:49 am

Re: Dev Build 2061

Postby jps on Wed Jun 08, 2011 11:51 am

There were never arrows on the scrollbars actually, but there may well be other missing bits in 2061, so let me know if you find any more.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2061

Postby iamntz on Wed Jun 08, 2011 12:03 pm

Thanks for the update.

There is any way of having go to last active tab act like... go to last active tab?

What i mean is this: i have 4 tabs opened : a, b, c, d. Active tab is A, previous active was C, before C was B.
When i press ctrl+tab, should go to C (was C). But if i press ctrl+Tab again should go back to A.

Make sense? :D
iamntz
 
Posts: 917
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Dev Build 2061

Postby jps on Wed Jun 08, 2011 12:37 pm

iamntz wrote:What i mean is this: i have 4 tabs opened : a, b, c, d. Active tab is A, previous active was C, before C was B.
When i press ctrl+tab, should go to C (was C). But if i press ctrl+Tab again should go back to A.


This should happen currently, provided you release ctrl after pressing ctrl+tab. When you let go of ctrl, it'll move the current view to the top of the stack, so you can toggle between two views. Other applications work the same way, as does alt+tab (or command+tab on osx).
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: Dev Build 2061

Postby iamntz on Wed Jun 08, 2011 1:36 pm

Argh, yes, you are right. I had a silly setting made :D

thanks for your reply.

// edit:
Actually i just remembered why i did that silly setting. I would like to ctrl+Tab act like „last tab” and ctrl+shift+tab to actually go to prev_view. There is a way to do this?
iamntz
 
Posts: 917
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Dev Build 2061

Postby qqq on Wed Jun 08, 2011 6:15 pm

I actually liked to be notified on ST startup of a new build having been released. The notifications stopped a couple of builds ago. I suggest making a setting of it.
ST2 Win7 64-bit
qqq
 
Posts: 57
Joined: Tue Mar 08, 2011 9:49 am

Re: Dev Build 2061

Postby tstrokes on Wed Jun 08, 2011 9:22 pm

The tab close button is not showing for me.
Is it turned off by default now?
--tstrokes
(Win7 x64)
tstrokes
 
Posts: 17
Joined: Wed Dec 03, 2008 6:39 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 17 guests