The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
You can get more regarding this from the Browser sample from the below link: \\Syncfusion\EssentialStudio\5.2.0.25\Windows\Edit.Windows\Samples\2.0\Syntax Highlighting\SyntaxColoringDemo
Please let me know if you have any other queries.
Best Regards, Bhuvana
SSSteffen Schurg, SD-ESNovember 26, 2007 03:56 PM UTC
Hello Bhuvana,
thank you for your quick reply!
Unfortunately your example doesn't fully solve my issue as you presumend the GOTO statement is only a separate lexem. But there is a IF ... GOTO statement in that language as well.
To be clear three different statements exist:
- IF THEN [ELSIF THEN ] [ELSE ] END_IF - IF GOTO
BPBhuvaneswari P Syncfusion Team November 27, 2007 06:32 AM UTC
Hi Steffen,
Thanks for the update.
Here is the code snippet for the below conditions 1. IF THEN [ELSIF THEN ] [ELSE ] END_IF
Kindly take a look into the sample and modify the config file as per your language and let me know if this helps you.
Best Regards, Bhuvana
SSSteffen Schurg, SD-ESNovember 27, 2007 02:24 PM UTC
Hi Bhuvana,
sorry, that didn't solve it either.
The lexems 1 and 2 (in that order) on their own work quite well - as long as there is no IF..GOTO statement.
Adding lexem 3 to config.xml doesn't make any difference to highlighting, but you can see at the collapse lines, that with added lexem 3 the IF..GOTO statement is wrongly ended with END_IF and in the other case (lexem 3 left away) the collapse line doesn't end at all.
Please add CollapseName attributes to the lexem tags and try to collapse the different blocks so you can see where the different lexems terminate. In addition please remove the stand-alone THEN lexem as THEN should be only highlighted within IF context.
I'm still quite at a loss.
Best Regards, Steffen
BPBhuvaneswari P Syncfusion Team December 27, 2007 09:40 AM UTC
Hi Steffen,
Thanks for the update.
Already we have forward this to our development team. We will let you know once we get back from them.
Please let me know if you have any other questions.
Best Regards, Bhuvana
Need More Help?
Get personalized assistance from our support team.