The attached patch is an extension to a previous patch (although it may be
able to be applied independently) which enabled copying of source code from
the View Source palette. This patch adds view source for the Sugar packages
in .../site-packages/jarabe and .../site-packages/sugar (it picks the first
instance of site-packages from sys.path).

As was the previous patch, this is for soliciting comments and feedback.

I trigger Sugar View Source from the Journal entry in the Frame. I am open
to other ideas as to where to put this. (Perhaps we always include it as
part of the activity View Source in a separate radio button?)

Currently, I am not showing the contents of /usr/share/sugar but probably
should at least show the extensions and data directories.

I haven't added the copy function yet as I want to think it through a bit
more.

FWIW, this patch also contains a fix to #2854.

-walter

-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org

Attachment: 0001-adding-view-source-for-sugar.patch
Description: Binary data

_______________________________________________
Sugar-devel mailing list
[email protected]
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to