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

Allow higher priority dictionaries to delete entries from others #1160

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

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

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
1 participant