Skip to content

Allow higher priority dictionaries to delete entries from others#1160

Merged
mkrnr merged 1 commit intoopensteno:mainfrom
user202729:dictionary-delete
Jul 10, 2025
Merged

Allow higher priority dictionaries to delete entries from others#1160
mkrnr merged 1 commit intoopensteno:mainfrom
user202729:dictionary-delete

Conversation

@user202729
Copy link
Member

@user202729 user202729 commented Oct 24, 2020

Summary of changes

If there's an entry {plover:deleted} in a dictionary, Plover will understand that the entry is deleted.

TODO: currently reverse-lookup still lists the deleted entry.

I've seen the POC in the linked issue, but it has a lot of merge conflicts, it's more complex (edits a lot of places in the code to special-case handle it), it doesn't work well with the add translation dialog (by default it does nothing if either field is empty) and it doesn't seem to work.

The particular entry used to mark deletion can be easily changed. Also it only works if it's the only thing in the stroke. =deleted (similar to the existing =undo syntax)?

Currently it's case-insensitive.

Also, this means there can't be any plugin that defines a command "deleted".

Closes #726 .

Pull Request Checklist

  • Changes have tests
  • News fragment added in news.d. See documentation for details

@mkrnr
Copy link
Contributor

mkrnr commented Jun 28, 2025

Hey @user202729, I really like this addition!
Do you have time to revive this one? Otherwise, I can work on it.

@mkrnr mkrnr self-requested a review June 29, 2025 18:53
@mkrnr mkrnr merged commit fa8d7f5 into opensteno:main Jul 10, 2025
15 checks passed
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.

Add definition deletions to user.json

2 participants