Created
February 20, 2018 07:08
-
-
Save paitonic/e7477430ecb42a1baf9a2729d5453092 to your computer and use it in GitHub Desktop.
ace editor annotations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
editor.getSession().setAnnotations([{ | |
row: 1, | |
column: 0, | |
text: "Error Message", | |
type: "error" | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment