Hi,
In Visual Studio “With … End With”, “If … EndIf”.can be collapsed/expanded. Can this be accomplished in Syntax Editor (Roslyn Parser)?. I didn’t see anything in outlines or syntax paint.
Thanks,
Rob
Hi,
In Visual Studio “With … End With”, “If … EndIf”.can be collapsed/expanded. Can this be accomplished in Syntax Editor (Roslyn Parser)?. I didn’t see anything in outlines or syntax paint.
Thanks,
Rob
Hi Rob,
You should enable SyntaxOptions.OutlineBlocks to allow collapsing of With...End With and If...End If blocks, like this:
vbParser1.Options |= Alternet.Syntax.SyntaxOptions.OutlineBlocks;
Regards,
Andrew