Multiline interpolated string: Region not collapsible

Somehow not all regions become collapsible:

This one works:
image

And this one doesn’t:

Correction: The first one doesn’t work eighter, collapsed it is showing:
image

In water, the regions are both not collapsible, and the second one has coloring problems after the end region:

We’ll need test cases. (FWIW Water just doesn’t do code collapsing, at this stage, so that part is as designed).

It looks like it has to do with the interpolated string.

K. can I still get a source snippet that shows this, so we can repro and fix? thanx!

Marc - As you know: send it to you.

But, there are really issues with the multi line interpolated strings.

  • Region do not collapse correct (what this thread stared with)
  • Compiler errors on wrong lines (with the regions around the interpolated strings)
  • Wrong lines commented out (with the regions around the interpolated strings)
  • Can not set any breakpoints anymore as long as the multi line interpolated strings are there
  • Error when trying to move a line to the right (press tab)

It looks like the multi line interpolated string completely destroys the editor …
Everything works again as soon as I remove the interpolated strings.

Closed because the Multiline interpolated string does not work yet.