Skip to content
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

Text Formatting #70

Open
jhilker98 opened this issue Dec 23, 2020 · 1 comment
Open

Text Formatting #70

jhilker98 opened this issue Dec 23, 2020 · 1 comment
Labels
Feature Request Add for a new feature request Renderer Issue has to do with Renderer Widgets Add for issues having to do with widgets
Milestone

Comments

@jhilker98
Copy link

Is your feature request related to a problem? Please describe.
My feature request is not related to a problem; instead, I think that being able to format text for something other than a selected widget would be nice.

Describe the solution you'd like
A way of formatting text in a widget (such as italics or bold or underlined text), possibly something similar to the way that colors are currently implemented (something like py_cui.text.ITALIC).

Additional context
Add any other context or screenshots about the feature request here.

@jhilker98 jhilker98 added the Feature Request Add for a new feature request label Dec 23, 2020
@jwlodek jwlodek added Renderer Issue has to do with Renderer Widgets Add for issues having to do with widgets labels Dec 24, 2020
@jwlodek jwlodek added this to the v0.2.0 milestone Dec 24, 2020
@jwlodek
Copy link
Owner

jwlodek commented Dec 24, 2020

I like this idea... I guess the current ColorRule solution could be expanded to be something like TextFormatRule, which would then be extended to ColorRule and something for the formatting options. Probably two new classes would need to be created, and functions for widgets for adding such rules.

Also the rendering functions would need to be adjusted to take these into effect during drawing. I'll try and get around to this when I finish with the things I'm working on currently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Add for a new feature request Renderer Issue has to do with Renderer Widgets Add for issues having to do with widgets
Projects
None yet
Development

No branches or pull requests

2 participants