After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345374 - RFE: Recorder source view should use syntax highlighting if available
RFE: Recorder source view should use syntax highlighting if available
Status: RESOLVED FIXED
Product: dogtail
Classification: Deprecated
Component: Recorder
CVS HEAD
Other All
: Normal enhancement
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-20 04:00 UTC by Dave Malcolm
Modified: 2006-10-10 21:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to use GtkSourceView if it is available (1.78 KB, patch)
2006-06-20 04:30 UTC, Dave Malcolm
none Details | Review
Re-enables syntax highlighting, for where gtksourceview is available (1.77 KB, patch)
2006-10-08 11:42 UTC, Dave Malcolm
committed Details | Review

Description Dave Malcolm 2006-06-20 04:00:39 UTC
GtkSourceView is widely available (via GEdit) and has Python bindings.  For example, in Fedora, they're in the gnome-python2-gtksourceview package.

This can be used to get syntax-highlighting and various other nice code-display features easily.

The recorder could determine at run-time if the module was available, and use it if was, falling back to a standard GtkTextView if not available.
Comment 1 Dave Malcolm 2006-06-20 04:30:43 UTC
Created attachment 67667 [details] [review]
Patch to use GtkSourceView if it is available
Comment 2 Dave Malcolm 2006-06-27 19:45:09 UTC
I went ahead and committed the patch (with ChangeLog entry)
Comment 3 Dave Malcolm 2006-10-08 11:39:43 UTC
This stopped working, looks like this commit removed it:
http://cvs.gnome.org/viewcvs/dogtail/recorder/dogtail-recorder?r1=1.17&r2=1.18

I'm attaching a reworked patch against HEAD that reenables it
Comment 4 Dave Malcolm 2006-10-08 11:42:45 UTC
Created attachment 74272 [details] [review]
Re-enables syntax highlighting, for where gtksourceview is available
Comment 5 Zack Cerza 2006-10-10 21:05:16 UTC
Oh, that's weird. I depend on CVS not letting me commit against stale versions of a file. Thanks for fixing it up.