Home Download Buy Blog Forum Support

CSS Select ( WebDevelopment Package)

Re: CSS Select ( WebDevelopment Package)

Postby ilya on Sun Oct 18, 2009 2:35 pm

sublimator wrote:The other alternative is to disable the parser from trying to resolve entities at all which what I plan to do eventually.

I'll wait for that. Image

And again, thank you for this wonderful package! Image
ilya
 
Posts: 122
Joined: Fri Sep 11, 2009 8:32 pm

Re: CSS Select ( WebDevelopment Package)

Postby ilya on Fri Oct 23, 2009 1:38 pm

Very cool! 8-)
ilya
 
Posts: 122
Joined: Fri Sep 11, 2009 8:32 pm

Re: CSS Select ( WebDevelopment Package)

Postby ilya on Fri Nov 06, 2009 3:08 pm

sublimator wrote:Show xpath / highlight selections using latest beta onSelectionModified

(prototype -- not on repo -- yet)

Sublimator, any news? ;)
ilya
 
Posts: 122
Joined: Fri Sep 11, 2009 8:32 pm

Re: CSS Select ( WebDevelopment Package)

Postby ilya on Sat Nov 07, 2009 8:54 am

I understand. But if someday this feature will be done as it should, then I'll be very glad ;) Image
ilya
 
Posts: 122
Joined: Fri Sep 11, 2009 8:32 pm

Re: CSS Select ( WebDevelopment Package)

Postby gpfsmurf on Tue Nov 10, 2009 9:48 pm

sublimator wrote:It's not as much as a usability win as it is a gimick and it would be a lot of work to get it running smoothly where it doesn't annoy the crap out of you with lags.

I haven't tried it with HTML but the highlighting part works pretty well with XML, without any lag:

Code: Select all
def node_highlight_cmd(key):
    def wrapper(f):
        def wrapped(self, view):
            if view.options().getString("syntax") not in [u"Packages/XML/XML.tmLanguage"]:
                return

            view.eraseRegions(key)
            try:
                nodes, proxy = selection_nodes(view)
                if nodes:
                    view.addRegions(key, [r for r in f(self, view, nodes, proxy)], "comment")
            except:
                pass
        return wrapped
    return wrapper

class HighlightElementName(sublimeplugin.Plugin):
    #@print_timing
    @node_highlight_cmd("elementName")
    def onSelectionModified(self, view, nodes, proxy):
        for i, node in nodes:
            for n in element_name_regions(view, node):
                yield n
gpfsmurf
 
Posts: 211
Joined: Mon Jun 23, 2008 6:31 pm

Re: CSS Select ( WebDevelopment Package)

Postby andreas on Tue Aug 09, 2011 1:09 pm

Unfortunately it seems, that the files cant be loaded from bitbucket.org. Would it possible to load the files from another Source like github.com or that you update to a free, unlimited Community Account here https://bitbucket.org/plans
andreas
 
Posts: 1
Joined: Tue Aug 09, 2011 1:04 pm

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: Google [Bot] and 4 guests