Skip to content

Add support for text decorator inside editor - #4

Open
luca020400 wants to merge 4 commits into
squidowl:arboard-full-patchfrom
luca020400:squid/underline
Open

Add support for text decorator inside editor#4
luca020400 wants to merge 4 commits into
squidowl:arboard-full-patchfrom
luca020400:squid/underline

Conversation

@luca020400

Copy link
Copy Markdown

No description provided.

This exposes the cosmic-text span decoration
for highlight users by expanding the `Format`
Mostly a copy-paste of cosmic-text code.
Now whenever draw_editor is called there's
an extra run that iterates over the decorations
and draws quads accordingly.
@luca020400

Copy link
Copy Markdown
Author

@rtmongold hopefully this can be used as is for what you need to do, I think it's a bit cleaner ^^

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