74
rated 0 times
[
81]
[
7]
/ answers: 1 / hits: 6042
/ 10 Years ago, thu, september 18, 2014, 12:00:00
I have trouble getting my annotation to stay. See this jsfiddle: http://jsfiddle.net/c8k45yw1/5/
What you will see is line 2, which I set manually, will have X mark appear for half a second before it disappear. Thoughts?
var editor = ace.edit(editor);
editor.setTheme(ace/theme/chrome);
editor.getSession().setMode(ace/mode/javascript);
//editor.session.setBreakpoint(2);
editor.getSession().setAnnotations([{
row: 1,
column: 0,
text: Strange error,
type: error // also warning and information
}]);
More From » ace-editor