Re: [gedit-list] visible tabs, spaces, newlines?



Hi Paolo, Steve,

That worked a treat. Thanks very much.

I had a little go at adding a menu option for turning it on and off. I got a little way but didn't know what the right way to stored gedit preferences via python is?

Cheers
JP

Paolo Borelli wrote:
John Pye wrote:
Hi all

Is there any way to make tabs, spaces, newlines, etc visible in gedit?

In some other editors, you can switch on a view that gives you little dots for spaces, little arrows for tabs, and backwards arrows for newlines. This would be or great use when attempting to fixed up badly indented code, or when dealing with tables of tab delimited data.

Perhaps there's a plugin for this?
I have uploaded a half done plugin here http://www.gnome.org/~pborelli/gedit-plugins/ with the name 'drawspaces', I played with it some months ago and it's not complete, but it works.
Feel free to improve it :)

ciao



--
John Pye
Department of Mechanical and Manufacturing Engineering
University of New South Wales, Sydney, Australia
http://pye.dyndns.org/




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