-
-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
enhancementNew feature or requestNew feature or request
Description
We currently have connectives that zip lists of targets and form ranges between them. We also have "and", which is just a union at the set level. There are other ways we could combine two lists of targets
- Set subtraction where we remove any targets in A that touch targets in B. This is the semantics used by the "give" action
- Subtraction where we remove the chunks from targets B that intersect A. Eg to remove a word section from the middle of a token selection
- Union where we merge targets that are touching
- Intersection where targets must be identical
- Intersection where we keep any targets that touch each other
- Intersection where we modify the selections
To generalise, we have different set operations (union, intersection, subtraction, etc), and we can apply them in different ways (at character level, target level with equality being strict, target level with equality being touching)
Could think about other granularities (eg word-level / arbitrary scope level)
josharian, Emberstorm-John and Enyium
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request