GNOME Bugzilla – Bug 616393
Python tabs/spaces/long lines visual warnings
Last modified: 2010-04-21 13:07:02 UTC
Hi, While using Gedit for writing Python codes I needed to have a visual feedback for leading tabs, trailing spaces and long lines. A screenshot of the result is here: http://adi.roiban.ro/wp-content/uploads/2010/04/highlight.png I am not sure if you want this changes for all users, but I was thinking that it is worth letting you know :) Right now the code is here: https://code.edge.launchpad.net/~adiroiban/+junk/gtksourceview-highlighting Cheers,
gtksourceview already provides api for this. See: http://library.gnome.org/devel/gtksourceview/stable/GtkSourceView.html#gtk-source-view-set-draw-spaces In gedit is provided with the gedit-plugins module a plugin to manage this in case you are interested.