Skip to content

Add Special Characters for to Write Activity #59

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AdityaShome
Copy link

This PR adds the ability to insert special characters into the Write Activity document editor.

Changes

  • New widget: Implemented SpecialCharactersWidget that displays categorized special characters in a tabbed interface.
  • Toolbar integration: Added special characters button (omega symbol) to the Text toolbar.
  • Character categories: Organized characters into useful groups (Greek letters, currency symbols, math operators, and accented characters).
  • Usability features: Added "Recently Used" tab to track frequently used characters and tooltips showing Unicode character names.
  • Compatibility: Ensured special characters work properly with AbiWord's text handling system.
    Screenshot from 2025-05-03 13-24-09

Implementation Details

The implementation focuses on simplicity and compatibility:
Carefully selected character sets that render correctly in AbiWordactivity
Compact UI design that fits within Sugar's toolbar palette system
Direct Unicode insertion without requiring complex encoding transformations

Testing

Tested with various document formats including plain text and ODT to ensure special characters display and save correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant