On Tuesday, 17 June 2014 at 10:25:39 UTC, dennis luehring wrote:
Am 17.06.2014 11:30, schrieb Walter Bright:And how would you syntax-highlight a string mixin that's assembled fromarbitrary string fragments?You wouldn't need to, since the text editor sees only normal D code.the text editor sees just D-code-Strings - so no syntax-highlight except that for Strings
The q{ } syntax is meant to work around this.
mixin(q{
void foo() {
return 8;
}
});
Should be highlighted.
