Home Download Buy Blog Forum Support

Dev Build 3014

Re: Dev Build 3014

Postby iamntz on Thu Feb 28, 2013 8:47 am

one of Sublime HQs new employees

Waiting for a blog post with some info on everyone (yeah, including you, Jon!): picture, small description, role and so on :geek:

And some future plans for Sublime would be much appreciated too!
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Dev Build 3014

Postby teoric on Thu Feb 28, 2013 8:57 am

I do generally avoid option key bindings on OS X, but missed that alt-hyphen was inserting something other than a hypen in my limited testing.


I was not sure how much of a co-incidence this was ;-). Thank you very much!

I'll change the binding to control+- for future builds.


Thanks again for the prompt help!
teoric
 
Posts: 6
Joined: Wed Jan 23, 2013 10:52 am

Re: Dev Build 3014

Postby quarnster on Thu Feb 28, 2013 9:12 am

iamntz wrote:And some future plans for Sublime would be much appreciated too!


Yes, please.
quarnster
 
Posts: 389
Joined: Tue Nov 29, 2011 11:34 am

Re: Dev Build 3014

Postby wuub on Thu Feb 28, 2013 9:30 am

C0D312 wrote:
sublime.DRAW_NO_OUTLINE


Image

Damn, it's soooo close, but there are still glitches caused by rounded corners on the edge of regions.
"no_antialias" doesn't help either.
SublimeREPL via Package Control & SublimePTY dev/pre-alpha. Donations are appreciated, but not required :) Twitter: @wuub
wuub
 
Posts: 218
Joined: Wed Aug 10, 2011 8:16 am
Location: Poland

Re: Dev Build 3014

Postby bizoo on Thu Feb 28, 2013 11:36 am

jps wrote:
bizoo wrote:Look like your implementation is what I want. Thanks.

Jump Back / Jump Forward were done by Hong, one of Sublime HQs new employees (the other being Kari, whose work you can see in the recent blog post). You can direct all blame there, provided I can cajole him into joining the forum :)

So thanks Hong, clever implementation and nicely writing (even unittest!).
I think there's only a small bug (typo) here:
Code: Select all
        elif name == 'move_to' and args['to'] == 'bof' and args['to'] == 'eof':
            # move to bof/eof
            get_jump_history(view.window().id()).push_selection(view)

I suppose it must be a or in the test:
Code: Select all
        elif name == 'move_to' and (args['to'] == 'bof' or args['to'] == 'eof'):

When I saw the addition of on_text_command/on_window_command, I immediately though it will be useful for this kind of things but I'm not sure that, if I had to write it myself, my solution will be as clean.
Using add_region() in on_selection_modified/on_modified event is a nightmare, undo command screw everything.

Now I've a question for Hong:
Currently the commands that trigger a push_selection() is written in stone (does it means something in english ?) in the on_text_command.
I have my own commands to navigate in the view and I like that they trigger the push_selection() too.
Is it OK to create my own eventlistener and use push_selection() ?
Code: Select all
import sublime, sublime_plugin
import Default.history_list as history_list

class MyJumpHistoryUpdater(sublime_plugin.EventListener):
    def on_text_command(self, view, name, args):
        if view.settings().get('is_widget'):
            return
        if name == 'move' and args['by'] == 'words':
            # syntax is {'by': 'lines', 'forward': True}
            history_list.get_jump_history(view.window().id()).push_selection(view)
bizoo
 
Posts: 886
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Dev Build 3014

Postby FragOnly on Thu Feb 28, 2013 12:14 pm

Really liked the add_region changes!

Maybe a bug though:
The API says I can use an icon name of "cross". When I try it gives a yellow and red stripped graphic with this error:
Unable to decode Packages/Theme - Default/cross.png
FragOnly
 
Posts: 19
Joined: Sat Feb 09, 2013 12:50 pm

Re: Dev Build 3014

Postby hsu on Thu Feb 28, 2013 12:52 pm

I'm not seeing the fading minimap nor its related option in the default settings file. Anyone?
hsu
 
Posts: 25
Joined: Fri Feb 01, 2013 4:14 pm

Re: Dev Build 3014

Postby PIAOYIDIAN on Thu Feb 28, 2013 1:50 pm

good
Attachments
2013-02-28_212047.png
TAB
2013-02-28_212047.png (34.38 KiB) Viewed 1800 times
PIAOYIDIAN
 
Posts: 39
Joined: Sun Dec 25, 2011 5:19 am

Re: Dev Build 3014

Postby elishnevsky on Thu Feb 28, 2013 4:13 pm

jps wrote:- Minimap view rectangle auto hides, and only displays on mouse over. This is an experimental change, I'd like feedback from anyone who thinks this is for the worse.


1. As long as there's a setting to switch this on and off I'm fine with it.
2. If draw_minimap_border setting is true, when I move the mouse over the minimap, the border flashes and disappears. Looks like a bug.
elishnevsky
 
Posts: 5
Joined: Mon Oct 24, 2011 5:03 pm
Location: Canada

Re: Dev Build 3014

Postby bizoo on Thu Feb 28, 2013 4:27 pm

jps wrote:- Minimap view rectangle auto hides, and only displays on mouse over. This is an experimental change, I'd like feedback from anyone who thinks this is for the worse.

Recently I've set the "overlay_scroll_bars" to "enabled" on my Windows box and activated the "draw_minimap_border".
The point was to expand my workspace by removing the scroll bars, now I use the minimap as an indicator of my position in the file in place of the scroll bar.
I'm pretty happy with this configuration and I think I will keep it.

So the auto hide of the minimap view rectangle don't make me happy, cos I've now no indicator of my relative position in the file without using the mouse or moving the view.
So a setting to enabled/disable auto hide is really a must have for me.
bizoo
 
Posts: 886
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

PreviousNext

Return to General Discussion

Who is online

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