Features/Edit panel on Frame
It would useful to be able to have a consistent text editor available to all activities as part of the Frame. It could be used for making small modifications to things like style sheets in Browse, Python code in Turtle Art, etc.
- Name: Walter Bender
- Email: firstname.lastname@example.org
- Name: Lucian Branescu
- Email: lucian dot braNOSPAMnescu at gmail dot com
- Targeted release:
- Last updated:
- Percentage of completion: 10%
We plan to add a panel that is associated with a clipboard entry to enable small text edits. We are considering SourceEditor class that inherits gtk.Widget. It would use gtktextview2 internally for syntax coloring.
Benefit to Sugar
Many Activities would be able to support small inline modifications, whether it be in regard to style and appearance or function. Letting these changes be made on clipboard objects as opposed to Journal objects saves a step and some context for the user.
It requires changes in the clipboard code... haven't looked into detail yet as to how best to make the intervention.
How To Test
Open an activity that can export text to the clipboard. Edit that text in the clipboard extension. Paste it back to see it the change was accepted.
Small edits can be handled more directly.
None necessary, revert to previous release behavior.
None other than this page.