Hi,
We’re using the Ace Editor to edit a lot of SQL (building queries on the fly) and we need the ability to insert fields from buttons on a RibbonBar. This means we need to insert text where the cursor currently is in the editor (if there’s text selected, it should be replaced).
Is there any way to do this? I’ve seen some responses on Stack Overflow but there’s some confusion there.
Thanks,
Neil.
Hi Neil,
please find a simple sample attached that does what you described.
For more information about the AceEditor please refer to their documentation.
Best regards
Frank
Please login first to submit.