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

feat(simplexpr): add uppercase and lowercase functions #1289

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

Conversation

DOD-101
Copy link

@DOD-101 DOD-101 commented Feb 25, 2025

Description

Add to functions upercase(string) & lowercase(string) to convert strings.

Usage

  (label :text "${uppercase("word")}")
  (label :text "${lowercase("Word")}")
   
   (label
      :class "key-label"
      :text { osk_shift ? "${shift_letter ?: uppercase(letter)}" : "${letter}"}
   )

Showcase

Additional Notes

Checklist

Please make sure you can check all the boxes that apply to this PR.

  • All widgets I've added are correctly documented.
  • I added my changes to CHANGELOG.md, if appropriate.
  • The documentation in the docs/content/main directory has been adjusted to reflect my changes.
  • I used cargo fmt to automatically format all code before committing

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