How to create error messages in ace code

I am using the Ace editor to display code on a website. I would like to be able to highlight code ranges and display an error message when they freeze as shown.

What I would like to accomplish

I'm not sure if this can be done using the Ace editor API, or if I need to use jQuery magic.

+7
source share
1 answer

There is no api for this.

You can add a tooltip similar to token_tooltip to the ace , but it needs some processing to add an arrow and not move with the mouse.

0
source

All Articles