Re: [gedit-list] Join/Split Lines plugin



Il giorno mar, 10/02/2009 alle 11.28 +1100, John Pye ha scritto:
> Hi all
> 
> What is the status of the Join/Split lines plugin working in Gedit
> 2.24.2. On my Ubuntu system, it doesn't seem to be there with the other
> standard plugins. I managed to get an old copy from here:
> 

JoinLines is part of the gedit-plugins package (which is available
as .deb in ubuntu).

The problem you reported below is due to the fact that you used an old
version.

Ciao

	Paolo


> http://live.gnome.org/GeditPlugins
> 
> and looking inside that I see that the Join/Split Lines plugin is pure
> python. I installed it by hand (required some minor file
> editing/renaming) and it works for joining lines, but there is a bug in
> the split lines functionality:
> 
> Traceback (most recent call last):
>   File "/home/john/.gnome2/gedit/plugins/joinlines.py", line 65, in <lambda>
>     lambda a, w: split_lines(w))],
>   File "/home/john/.gnome2/gedit/plugins/joinlines.py", line 138, in
> split_lines
>     tabsize = view.get_tabs_width()
> AttributeError: 'gedit.View' object has no attribute 'get_tabs_width'
> 
> I guess that this plugin has been deprecated or removed or something --
> is there a replacement for this functionality somewhere?
> 
> Cheers
> JP
> 
> 
> 
> _______________________________________________
> gedit-list mailing list
> gedit-list gnome org
> http://mail.gnome.org/mailman/listinfo/gedit-list
> 



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