| |
|
|
|
|
|
|
|
|
|
|
| |
- Make the `global_selection` operation check for the new
`IndependentSelection` when trying to downcast_mut.
- `IndependentSelection` uses wraps a `RefCell` so it can change its
inner value. Theres some helper methods to create this
`IndependentSelection` from an existing value and to then get the
changed value once the operation is done. This way the `Text` and
`Rich` simply need to pass this `IndependentSelection` to the
operation `custom` method which will make sure it wont clash with any
other custom operations that could be using `&mut bool` as well.
|