-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Describe the bug
Most Bliss-words have a single indicator above the classifier. In some cases, one or more of the specifiers in the word can have an indicator. Any indicator associated with a specifier should remain intact and not be subject to the "remove indicator" command or any substitution of the indicator.
To reproduce
Steps to reproduce the behavior:
- Add a Bliss-word that has multiple indicators in the editing area
- Click on the "remove indicator" button. The indicator on the classifier will be removed as expected
- Click on the "remove indicator" button a second time. The first indicator on a specifier will be removed. This is an error.
Or:
- Add a Bliss-word that has multiple indicators in the editing area
- Click on one of the indicator symbols in the indicator strip to add an indicator to the symbol.
- That indicator will replace the previous indicator on the classifier, which is correct.
- It will also replace all indicators on all of the specifiers. This is an error.
Expected behavior
Only the indicator on the classifier should be affected when adding, removing, or replacing an indicator on a Bliss-word.
Additional context or notes
A short-term solution is to use the current way of finding the classifier and noting its location. Then, when the edit-indicator operation occurs, it is applied only to the classifier.
A longer term solution is to have the category of each symbol in the Bliss-word noted. The relevant categories are classifier, specifier, modifier, and indicator. Then the edit-indicator operation is applied only to the classifier.