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

Add a List function that understates unselected items #982

Open
abdulshaikh55 opened this issue Mar 5, 2024 · 1 comment
Open

Add a List function that understates unselected items #982

abdulshaikh55 opened this issue Mar 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@abdulshaikh55
Copy link

abdulshaikh55 commented Mar 5, 2024

Problem

When I implement highlight_symbol() for a List this is what it looks like:

    Eat
    Sleep
[*] Code
    Repeat

I want it to be something like this:

[ ] Eat
[ ] Sleep
[*] Code
[ ] Repeat

Solution

I have tried to do it and this is my first time. But I must be doing something wrong. It is fairly easy. Instead of blank_symbol, if understate_symbol() is selected, use that symbol.

Alternatives

A function that asks for both; the highlight symbol as well as the understate symbol.

Potential names of the function: (they are all antonyms for highlight)
understate_function
discount_function
lowlight_function

Additional context

@abdulshaikh55 abdulshaikh55 added the enhancement New feature or request label Mar 5, 2024
@orhun orhun changed the title [For List] add a function that understates unselected items Add a List function that understates unselected items Mar 5, 2024
@joshka
Copy link
Member

joshka commented Mar 12, 2024

I like this idea - I'm not sure that the names make sense to me though. Probably unselected_symbol or something similar would be fine (and I wonder whether we should consider whether highlight symbol is worth renaming?)

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

No branches or pull requests

2 participants