Re: [gedit-list] Snapopen plugin update 1.1.2



Hi Mads,

I download the new code, and just I used the same aproach to solve the
problem.  For your code the only change is that statement, added gedit_ to
the tab_get_from_document:

	#gedit < 2.16 version (get_tab_from_uri)
	def old_get_tab_from_uri(self, window, uri):
             docs = window.get_documents()
	     for doc in docs:
             if doc.get_uri() == uri:
                 return gedit.gedit_tab_get_from_document(doc)
             return None


and this functions ok, the multiple selection and spaces by '*' work fine
for me, I love this plugins more and more...

thank's you. From the users of gedit 2.14 :-D

La Serena,
Chile



Mads Buus Jensen wrote:
> 
> Hi All,
> 
> Just uploaded version 1.1.2 of the Snapopen plugin, an open dialog
> enhanced with fancy autocompletion as found in Macs TextMate.
> 
> (Yes, I know I spam the list a bit, but I'm on a roll here)
> 
> Gedit version 2.14 should now work (see switch in snapopen/__init__.py
> 
> Get it here:
> http://www.upperbound.net/upperbound/show/SnapOpen+plugin+for+Gedit
> Or through here: http://live.gnome.org/Gedit/Plugins (scroll down to
> Snapopen)
> 
> Here the changelog:
> 
> Changelog
> 
> version 1.1.2 
> * multiple file open support
> * case insensitivity and multiple patterns (Thanks, Dan)
> * output piped through 'head' to further improve performance
> 
> version 1.1 
> * contains simple integration for Filebrowser (and eddt) plugins.
> * performance improvements 
> * GNOME button compliance
> 
> version 1.0 
> * initial (usable) version
> 
> 
> _______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> http://mail.gnome.org/mailman/listinfo/gedit-list
> 
> 

-- 
View this message in context: http://www.nabble.com/gedit-2.17.1-tf2752283.html#a7719464
Sent from the Gnome - Gedit mailing list archive at Nabble.com.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]