[Sugar-devel] [API proposal] Source editor and widget

Tomeu Vizoso tomeu at sugarlabs.org
Mon Jul 13 12:20:36 EDT 2009


On Mon, Jul 13, 2009 at 18:09, Lucian Branescu<lucian.branescu at gmail.com> wrote:
> I'm proposing the addition of sugar.graphics.sourceedit.SourceView. It
> would be similar to what can be found in jarabe.view.viewsource. Exact
> names of classes and/or module are up for debate.

May be better if you first code your new stuff and then we discuss
about merging it in the sugar-toolkit? viewsource.py doesn't add too
much around gtksourceview2.View itself, so you may end up with more
differences than similarities with viewsource.py.

Regards,

Tomeu

> I'm also thinking of adding a FileView class in there, but I'm not
> sure about it.
>
>
> I've already seen almost the exact same code in Pippy and
> viewsource.py; now I'm writing almost the same code in my branch of
> Browse and it could be a base for the proposed Clipboard text editor
> (http://wiki.sugarlabs.org/go/Features/Edit-panel-on-Frame). Thus, I
> believe it's a common enough need.
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>


More information about the Sugar-devel mailing list