Highlight word based on a specific index

SyntaxEditor for WPF Forum

Posted 3 years ago by Naama Weiss
Version: 21.1.1
Avatar

Is there any way to highlight a word in the SyntaxEditor's text based on a specific position (start index + length)?

I didnt find this kind of example in your SyntaxEditorSamples.

Please Advise.

Comments (4)

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Do you mean set the selected text range or do you mean to apply some kind of background highlight over that range?


Actipro Software Support

Posted 3 years ago by Naama Weiss
Avatar

I want to apply background highlighting over this range.

Thank you

Posted 3 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

We decided to create a new QuickStart for our Sample Browser project which demonstrates how to do what you're asking. It will be called "Adornments - Highlight Range" and demonstrates how to tag any range of text with a custom highlighting style. This new QuickStart will be in our next maintenance release. If you could please open a ticket by emailing our support email address and mention this forum post, we will be happy to reply with a copy of the new sample files right away.


Actipro Software Support

Posted 3 years ago by Naama Weiss
Avatar

I sent you an email.

Thanks

The latest build of this product (v24.1.2) was released 0 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.