MPS-extensions
MPS-extensions copied to clipboard
Surrounding a selection of words with indent or vertical collection yields erroneous result
How to reproduce:
- make a number of words in a Line.
- select a subset of the words in the line
- apply one of the intentions "surround with indent/vertical collection"
- now there is an indent or vertical collection with words directly in it, but you will get an error from the MPS UI, since a vertical/indent collection can only contain lines, not words
Suggestion: either fix the bug in such a way that each of the words is wrapped in a line or disable the "surround with..." intentions for a collection of words (with a strong preference for the first option).