Open tciuro opened 9 years ago
Is there a way to determine this with the ACE editor?
@faceleg I don't understand your question. What do you mean with "ACE editor"? I've checked the public APIs and I don't see how I could gain access.
I mean the ACE HTML editor itself - https://ace.c9.io/ ACEView is a magical wrapper around that :)
Anything that the ACE editor does, we will be able to make the ACEView do, it's a matter of adding the appropriate wrapper functionality
@tciuro did my explanation make more sense?
Yes, thank you. I posted a question in the forum hoping to figure out whether it's possible.
Hello,
I haven't seen an
ACEView/ACEViewDelegate
API to determine if the content of the view are not conforming to the specified language. For example, if I set theACEView
mode to beACEModeJSON
and I edit the contents removing a comma, a red "X" appears in the gutter (awesome!). I'd love to programmatically figure out if the view is showing one or more "X"'s so that I can redraw the rest of the UI accordingly. Did I overlook this API somewhere? Thanks!