Home Download Buy Blog Forum Support

20091108 Beta

20091108 Beta

Postby jps on Sun Nov 08, 2009 11:10 am

20091108 is out, some of the changes:

* The selection rendering now looks the same in OpenGL as in does in Direct3D: no more wonky borders
* Home/end can now be configured to go directly to the first and last character of the actual line, ignoring any leading whitespace and word wrapping.
* Toggle comment is friendlier, it will not increase the comment level on the selected text unless every line is commented.
* No more infinite repeat from holding down Ctrl+Y for redo: if the buffer was last modified via a redo, then Ctrl+Y won't act as repeat.
* Fixed a few loose ends with key bindings

There's also a few new bits in the API. There are view methods setStatus(key, value), getStatus(key) and eraseStatus(key). These can be used to show persistent information on the status bar for the current view. For example:

Code: Select all
view.setStatus('wordCount', '103 words')


The values are all listed in the status bar in a comma separated fashion (ordered by key). The keys exist so that different plugins can add their own status independently.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20091108 Beta

Postby ilya on Sun Nov 08, 2009 12:02 pm

Hm, can't download new beta. Link is broken.
ilya
 
Posts: 122
Joined: Fri Sep 11, 2009 8:32 pm

Re: 20091108 Beta

Postby jps on Sun Nov 08, 2009 12:11 pm

gah, fixed now
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20091108 Beta

Postby vim on Sun Nov 08, 2009 1:11 pm

when using --opengl, the experience is much slower when scrolling
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: 20091108 Beta

Postby vim on Sun Nov 08, 2009 2:30 pm

regarding the 1.5 sec timeout, there is a bug with the order the key binding are loaded.

this works as expected:

Code: Select all
    <binding key="s,p" command="openFileInProject"><context name="option" value="ctrlMode"/></binding>
    <binding key="s,p,r" command="scanProject"><context name="option" value="ctrlMode"/></binding>


the following not (s,p will always evaluate first):

Code: Select all
    <binding key="s,p,r" command="scanProject"><context name="option" value="ctrlMode"/></binding>
    <binding key="s,p" command="openFileInProject"><context name="option" value="ctrlMode"/></binding>
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: 20091108 Beta

Postby cuehara on Sun Nov 08, 2009 6:26 pm

The update dialog misspells "available", at least it did in the 20091029 beta. Also, the beta page lists that beta as the latest. I just guessed the expected url to download 20091108.
cuehara
 
Posts: 4
Joined: Wed May 07, 2008 2:59 pm

Re: 20091108 Beta

Postby jps on Sun Nov 08, 2009 6:43 pm

vim: that's as designed, the key binding defined later overrides the one defined earlier
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20091108 Beta

Postby jps on Sun Nov 08, 2009 6:56 pm

cuehara: It's there, you'll just need to reload the page. Thanks for letting me know re: misspelling.
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Re: 20091108 Beta

Postby vim on Sun Nov 08, 2009 7:00 pm

i don't see the logic of it :s

if it is on my keybinding then i can manage it, but what if the shorter version is of some package that was loaded before me? does it eclipse all the other combinations? or am i missing something?
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: 20091108 Beta

Postby jps on Sun Nov 08, 2009 7:08 pm

The last loaded key binding has priority, so you only have to worry if another package was loaded after you. Nick has more details on at http://sublime.akalias.net/gettingstart ... y-bindings
jps
Site Admin
 
Posts: 3077
Joined: Wed Mar 19, 2008 12:33 pm

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 25 guests