We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

2 questions, comments and numbers

Hi there, this control is awesome so far in my trial. A couple questions have come up while using this though. It would help immensly if you could answer it.

1. I'm having some trouble trying to make "--" a comment type. I'm trying to make syntax highlighting for lua type scripting but with some custom commands. I'm not really too sure how the ContinueBlock or EndBlocks work. I have looked at the documentation and it does not show how to do comment types.

2. How does highlighting numbers work? I have the format name already in there but it doesn't highlight any numbers.

Again take your time answering and thanks for your time.


1 Reply

AD Administrator Syncfusion Team August 20, 2008 10:42 AM UTC

Hi,

Sorry for the delay.

It is possible to highlight the number using below code snippets.




....




.....


..
[0-9]
...


Please refer the simple sample for your reference and let me know if any concerns.
http://websamples.syncfusion.com/samples/Edit/F75754/main.htm

Thank you for your interest in Syncfusion Products.

Regards,
Hema



Loader.
Live Chat Icon For mobile
Up arrow icon