This is a migrated thread and some comments may be shown as answers.

[Solved] Highlight specific words

1 Answer 151 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Aykut
Top achievements
Rank 1
Aykut asked on 20 Jul 2009, 02:04 AM
Hi,
Is there a way to highlight specific words from a dictionary in the editor?
I want to use this as a sql editor, so if I can highlight SELECT, FROM, WHERE etc. as the user types,
that would be great.

Thanks for your help.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 22 Jul 2009, 01:25 PM
Hi Aykut,

RadEditor does not offer the requested functionality out-of-the box. Our recommendation is to implement your scenario with an editable div element  (<div contenteditable="true" style="1px solid red;width:300px;height:300px;">sample content</div> ) and text ranges. Once you are ready with the implementation just send us the code and we will integrate your solution in RadEditor.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Aykut
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or