-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add character limit to TextEdit (#2816)
* Add char_limit to TextEdit * Use match statement instead * Update CHANGELOG.md * Fixed panics Updated to fix panics for UTF-8 characters and subtract overflow * Inline code in insert_text
- Loading branch information
cameron
authored
Mar 30, 2023
1 parent
fb726aa
commit 5fc5f08
Showing
2 changed files
with
44 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters